Skip to content

Commit 1949bf5

Browse files
committed
release/2025-03-07 updated prod env var
1 parent f33ff00 commit 1949bf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/infrastructure/roles/manage-non-mgmt-aws-trust-policy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ tf_assume_role_policy=$(_substitute_environment_variables ./scripts/infrastructu
4141
aws iam update-assume-role-policy --role-name NHSDeploymentRole --policy-document "${tf_assume_role_policy}"
4242
aws iam update-assume-role-policy --role-name NHSSmokeTestRole --policy-document "${tf_assume_role_policy}"
4343

44-
if [ "$ENV" != "PROD" ]; then
44+
if [ "$ENV" != "prod" ]; then
4545
aws iam update-assume-role-policy --role-name NHSDevelopmentRole --policy-document "${tf_assume_role_policy}"
4646
aws iam update-assume-role-policy --role-name NHSTestCIRole --policy-document "${tf_assume_role_policy}"
4747
fi

0 commit comments

Comments
 (0)