Skip to content

Commit 21ec178

Browse files
committed
NRL-1595 fix bad apply
1 parent 215b0a4 commit 21ec178

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy-account-wide-infra.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
ACCOUNT_NAME: ${{ vars.ACCOUNT_NAME }}
103103
run: |
104104
terraform -chdir=terraform/account-wide-infrastructure/${ACCOUNT_NAME} show -no-color tfplan > terraform/account-wide-infrastructure/$ACCOUNT_NAME/tfplan.txt
105-
105+
ls terraform/account-wide-infrastructure/$ACCOUNT_NAME/
106106
aws s3 cp terraform/account-wide-infrastructure/$ACCOUNT_NAME/tfplan s3://nhsd-nrlf--mgmt--github-ci-logging/acc-$ACCOUNT_NAME/${{ github.run_id }}/tfplan
107107
aws s3 cp terraform/account-wide-infrastructure/$ACCOUNT_NAME/tfplan.txt s3://nhsd-nrlf--mgmt--github-ci-logging/acc-$ACCOUNT_NAME/${{ github.run_id }}/tfplan.txt
108108
@@ -154,7 +154,7 @@ jobs:
154154
ACCOUNT_NAME: ${{ vars.ACCOUNT_NAME }}
155155
ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
156156
run: |
157-
terraform -chdir=terraform/account-wide-infrastructure/${ACCOUNT_NAME} tfplan \
157+
terraform -chdir=terraform/account-wide-infrastructure/${ACCOUNT_NAME} apply tfplan \
158158
-var assume_account=${ACCOUNT_ID} \
159159
-var assume_role=terraform
160160

0 commit comments

Comments
 (0)