Skip to content

Commit

Permalink
ci: checks the status of the rollback_complete_stack
Browse files Browse the repository at this point in the history
  • Loading branch information
Balou9 committed Sep 9, 2023
1 parent a0a4f9f commit 387f1ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ jobs:
- name: configure the environment with two identical bucket name environment variables
run: |
echo "STACK_NAME=test-rollback-complete-cfn-check-failed-status" >> $GITHUB_ENV
echo "STACK_NAME_2=test-rollback-complete-cfn-check-failed-status-2" >> $GITHUB_ENV
echo "CFN_CHECK_STATUS_CREATE_FAILED_BUCKET_NAME=test-rollback-complete-cfn-check-failed-status-bucket" >> $GITHUB_ENV
echo "CFN_CHECK_STATUS_CREATE_FAILED_BUCKET_NAME_2=test-rollback-complete-cfn-check-failed-status-bucket" >> $GITHUB_ENV
Expand All @@ -108,7 +107,7 @@ jobs:
uses: ./
id: checkstatus_rollback_complete
with:
cfn-stack-name: ${{ env.STACK_NAME_2 }}
cfn-stack-name: ${{ env.STACK_NAME }}

- name: delete the rollback-complete-cfn-check-failed-status test stack
run: |
Expand Down
3 changes: 1 addition & 2 deletions test/stacks/test-rollback-complete-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ Resources:
Type: AWS::S3::Bucket
Properties:
BucketName: !Ref CfnCheckStatusBucketName
# AccessControl: PublicRead
DeletionPolicy: Delete
DeletionPolicy: Delet

0 comments on commit 387f1ac

Please sign in to comment.