@@ -21,47 +21,47 @@ module "ecr_apt" {
2121
2222# # For archival-packaging-tool application repo and ECR repository
2323# Outputs in dev
24- output "apt_fargate_dev_build_workflow " {
24+ output "apt_dev_build_workflow " {
2525 value = var. environment == " prod" || var. environment == " stage" ? null : templatefile (" ${ path . module } /files/dev-build.tpl" , {
2626 region = var.aws_region
2727 role = module.ecr_apt.gha_role
2828 ecr = module.ecr_apt.repository_name
29- function = " "
29+ function = local.ecr_apt
3030 }
3131 )
3232 description = " Full contents of the dev-build.yml for the archival-packaging-tool repo"
3333}
34- output "apt_fargate_makefile " {
34+ output "apt_makefile " {
3535 value = var. environment == " prod" || var. environment == " stage" ? null : templatefile (" ${ path . module } /files/makefile.tpl" , {
3636 ecr_name = module.ecr_apt.repository_name
3737 ecr_url = module.ecr_apt.repository_url
38- function = " "
38+ function = local.ecr_apt
3939 }
4040 )
4141 description = " Full contents of the Makefile for the archival-packaging-tool repo (allows devs to push to Dev account only)"
4242}
4343
4444# Outputs in stage
45- output "apt_fargate_stage_build_workflow " {
45+ output "apt_stage_build_workflow " {
4646 value = var. environment == " prod" || var. environment == " dev" ? null : templatefile (" ${ path . module } /files/stage-build.tpl" , {
4747 region = var.aws_region
4848 role = module.ecr_apt.gha_role
4949 ecr = module.ecr_apt.repository_name
50- function = " "
50+ function = local.ecr_apt
5151 }
5252 )
5353 description = " Full contents of the stage-build.yml for the archival-packaging-tool repo"
5454}
5555
5656# Outputs after promotion to prod
57- output "apt_fargate_prod_promote_workflow " {
57+ output "apt_prod_promote_workflow " {
5858 value = var. environment == " stage" || var. environment == " dev" ? null : templatefile (" ${ path . module } /files/prod-promote.tpl" , {
5959 region = var.aws_region
6060 role_stage = " ${ module . ecr_apt . repo_name } -gha-stage"
6161 role_prod = " ${ module . ecr_apt . repo_name } -gha-prod"
6262 ecr_stage = " ${ module . ecr_apt . repo_name } -stage"
6363 ecr_prod = " ${ module . ecr_apt . repo_name } -prod"
64- function = " "
64+ function = local.ecr_apt
6565 }
6666 )
6767 description = " Full contents of the prod-promote.yml for the archival-packaging-tool repo"
0 commit comments