Skip to content

Commit

Permalink
create and use profile
Browse files Browse the repository at this point in the history
  • Loading branch information
test-cli-e2e-aws committed Dec 5, 2024
1 parent f86946d commit 52caf8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
aws-region: eu-west-1
role-to-assume: arn:aws:iam::911167907168:role/GitHubAction-AssumeRoleWithAction
role-session-name: GitHub_to_AWS_via_FederatedOIDC
- uses: mcblair/[email protected]
with:
role-arn: arn:aws:iam::911167907168:role/GitHubAction-AssumeRoleWithAction
profile-name: aws-nuke
- name: Store test timestamp
run: echo "TIMESTAMP=$(date +'%s')" >> $GITHUB_ENV
- name: Setup test repository SSH key
Expand Down
4 changes: 2 additions & 2 deletions test/plural/lib/aws-teardown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ executor: aws-teardown
input:
resourceGroup: ''
steps:
- script: aws-nuke run --config ../../nuke-config.yml --force --access-key-id $AWS_ACCESS_KEY_ID --secret-access-key $AWS_SECRET_ACCESS_KEY --no-dry-run --no-alias-check --max-wait-retries 100
- script: aws-nuke run --config ../../nuke-config.yml --force --profile aws-nuke --no-dry-run --no-alias-check --max-wait-retries 100
retry: 5
timeout: 1800
retry_if:
- result.code ShouldNotEqual 0
delay: 5
delay: 20

0 comments on commit 52caf8b

Please sign in to comment.