Skip to content

Commit 60e5288

Browse files
Merge pull request #675 from NHSDigital/feature/made14-NRL-760-fixup-infra-for-bluegreen
[NRL-760] Fix typo in env-config secret name for dev
2 parents 8392883 + 0b835f5 commit 60e5288

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/persistent-environment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ jobs:
6868
- name: Add S3 Permissions to Lambda
6969
run: |
7070
account=$(echo '${{ inputs.environment }}' | cut -d '-' -f1)
71-
make get-s3-perms ENV=${account}
71+
inactive_stack=$(poetry run python ./scripts/get_env_config.py inactive-stack ${{ inputs.environment }})
72+
make get-s3-perms ENV=${account} TF_WORKSPACE_NAME=${inactive_stack}
7273
7374
- name: Save Build Artifacts
7475
uses: actions/upload-artifact@v4

terraform/account-wide-infrastructure/dev/secrets.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ resource "aws_secretsmanager_secret" "dev_environment_configuration" {
2323
}
2424

2525
resource "aws_secretsmanager_secret" "devsandbox_environment_configuration" {
26-
name = "${local.project}--devsandbox--env-config"
26+
name = "${local.project}--dev-sandbox--env-config"
2727
description = "The environment configuration for the Dev Sandbox environment"
2828
}

0 commit comments

Comments
 (0)