Skip to content

Commit a225134

Browse files
committed
Update PPOD-related Outputs
Why these changes are being introduced: There are new shared workflows in the shared .github repository for handling the Fargate/Lambda deployment pipeline. How this addresses that need: * Update the PPOD-related output in dev to use the updated template for the dev-build caller workflow * Update the PPOD-related output in dev to use the update template for the Makefile * Update the PPOD-related output in stage to use the updated template for the stage-build caller workflow * Update the PPOD-related output in prod to use the updated template for the prod-promote caller workflow Side effects of this change: None.
1 parent 6763913 commit a225134

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ppod_ecr.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module "ecr_ppod" {
2121
## For ppod application repo and ECR repository
2222
# Outputs in dev
2323
output "ppod_dev_build_workflow" {
24-
value = var.environment == "prod" || var.environment == "stage" ? null : templatefile("${path.module}/files/lambda-dev-build.tpl", {
24+
value = var.environment == "prod" || var.environment == "stage" ? null : templatefile("${path.module}/files/dev-build.tpl", {
2525
region = var.aws_region
2626
role = module.ecr_ppod.gha_role
2727
ecr = module.ecr_ppod.repository_name
@@ -31,7 +31,7 @@ output "ppod_dev_build_workflow" {
3131
description = "Full contents of the dev-build.yml for the ppod repo"
3232
}
3333
output "ppod_makefile" {
34-
value = var.environment == "prod" || var.environment == "stage" ? null : templatefile("${path.module}/files/lambda-makefile.tpl", {
34+
value = var.environment == "prod" || var.environment == "stage" ? null : templatefile("${path.module}/files/makefile.tpl", {
3535
ecr_name = module.ecr_ppod.repository_name
3636
ecr_url = module.ecr_ppod.repository_url
3737
function = local.ecr_ppod_function_name
@@ -42,7 +42,7 @@ output "ppod_makefile" {
4242

4343
# Outputs in stage
4444
output "ppod_stage_build_workflow" {
45-
value = var.environment == "prod" || var.environment == "dev" ? null : templatefile("${path.module}/files/lambda-stage-build.tpl", {
45+
value = var.environment == "prod" || var.environment == "dev" ? null : templatefile("${path.module}/files/stage-build.tpl", {
4646
region = var.aws_region
4747
role = module.ecr_ppod.gha_role
4848
ecr = module.ecr_ppod.repository_name
@@ -54,7 +54,7 @@ output "ppod_stage_build_workflow" {
5454

5555
# Outputs after promotion to prod
5656
output "ppod_prod_promote_workflow" {
57-
value = var.environment == "stage" || var.environment == "dev" ? null : templatefile("${path.module}/files/lambda-prod-promote.tpl", {
57+
value = var.environment == "stage" || var.environment == "dev" ? null : templatefile("${path.module}/files/prod-promote.tpl", {
5858
region = var.aws_region
5959
role_stage = "${module.ecr_ppod.repo_name}-gha-stage"
6060
role_prod = "${module.ecr_ppod.repo_name}-gha-prod"

0 commit comments

Comments
 (0)