Skip to content

Commit 3b396df

Browse files
anjalitrace2-nhsmattdean3-nhs
authored andcommitted
NRL-2140 Pass environment name (dev-sandbox) to get permissions step rather than account name (dev)
1 parent 0b4ca8d commit 3b396df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/persistent-environment.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ jobs:
5454
env:
5555
ENVIRONMENT: ${{ inputs.environment }}
5656
run: |
57-
account=$(echo "$ENVIRONMENT" | cut -d '-' -f1)
5857
inactive_stack=$(poetry run python ./scripts/get_env_config.py inactive-stack $ENVIRONMENT)
59-
make get-s3-perms ENV=${account} TF_WORKSPACE_NAME=${inactive_stack}
58+
make get-s3-perms ENV=$ENVIRONMENT TF_WORKSPACE_NAME=${inactive_stack} USE_SHARED_RESOURCES=true
6059
6160
- name: Save Build Artifacts
6261
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2

0 commit comments

Comments
 (0)