Skip to content

Commit aca837c

Browse files
committed
Fix Typos!
Why these changes are being introduced: I missed three typos, one in a comment and two in the special Tf outputs for stage & prod. How this addresses that need: * Fix this mistaken capital letter in a comment in the providers.tf file * Fix the stage-only output to pull from the correct "extra-region" template file instead of the regular template file for the "west" region workflow lines * Fix the prod-only output to pull from the correct "extra-region" template file intead of the regular template file for the "west" region workflow lines Side effects of this change: None. Only changes outputs. Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/IR-238
1 parent 9d27a17 commit aca837c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cdps_ecrs_west.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ output "s3_bagit_validator_makefile_west" {
4343

4444
# Outputs in stage
4545
output "s3_bagit_validator_stage_build_workflow_west" {
46-
value = var.environment == "prod" || var.environment == "dev" ? null : templatefile("${path.module}/files/stage-build.tpl", {
46+
value = var.environment == "prod" || var.environment == "dev" ? null : templatefile("${path.module}/files/stage-build-extra-region.tpl", {
4747
region = "us-west-2"
4848
role = module.ecr_cdps_s3_bagit_validator.gha_role
4949
ecr = module.ecr_cdps_s3_bagit_validator_west.repository_name
@@ -55,7 +55,7 @@ output "s3_bagit_validator_stage_build_workflow_west" {
5555

5656
# Outputs after promotion to prod
5757
output "s3_bagit_validator_prod_promote_workflow_west" {
58-
value = var.environment == "stage" || var.environment == "dev" ? null : templatefile("${path.module}/files/prod-promote.tpl", {
58+
value = var.environment == "stage" || var.environment == "dev" ? null : templatefile("${path.module}/files/prod-promote-extra-region.tpl", {
5959
region = "us-west-2"
6060
role_stage = "${module.ecr_cdps_s3_bagit_validator_west.repo_name}-gha-stage"
6161
role_prod = "${module.ecr_cdps_s3_bagit_validator_west.repo_name}-gha-prod"

providers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ provider "aws" {
2525
}
2626
}
2727

28-
# NEed additional region for multi-region containers
28+
# Need additional region for multi-region containers
2929
provider "aws" {
3030
alias = "west-2"
3131
region = "us-west-2"

0 commit comments

Comments
 (0)