diff --git a/.github/workflows/e2e-test.yaml b/.github/workflows/e2e-test.yaml index 891a8afc..b202de21 100644 --- a/.github/workflows/e2e-test.yaml +++ b/.github/workflows/e2e-test.yaml @@ -40,9 +40,9 @@ jobs: - id: get-nuke name: Get aws-nuke run: | - wget https://github.com/rebuy-de/aws-nuke/releases/download/v2.21.2/aws-nuke-v2.21.2-linux-amd64.tar.gz -O aws-nuke-v2.21.2-linux-amd64.tar.gz - tar -xzf aws-nuke-v2.21.2-linux-amd64.tar.gz - sudo mv aws-nuke-v2.21.2-linux-amd64 /aws-nuke + wget https://github.com/rebuy-de/aws-nuke/releases/download/v2.25.0/aws-nuke-v2.25.0-linux-amd64.tar.gz -O aws-nuke-v2.21.2-linux-amd64.tar.gz + tar -xzf aws-nuke-v2.25.0-linux-amd64.tar.gz + sudo mv aws-nuke-v2.25.0-linux-amd64 /aws-nuke sudo chmod u+x /aws-nuke - id: get-aws-creds diff --git a/e2e-test/nuke.yaml b/e2e-test/nuke.yaml index 26fa8403..4b3f1f7b 100644 --- a/e2e-test/nuke.yaml +++ b/e2e-test/nuke.yaml @@ -29,3 +29,10 @@ accounts: - "e2e-test-runner -> AdministratorAccess" - property: "RoleName" regex: "^AWSReservedSSO_.+$" + OpsWorksUserProfile: + - type: contains + value: "arn:aws:sts::296877675213:assumed-role" + OSPackage: + - property: "PackageName" + type: regex + value: "^(analysis-\\w+|amazon-personalized-ranking)*" \ No newline at end of file