hashicorp / consul-k8s

First-class support for Consul Service Mesh on Kubernetes
https://www.consul.io/docs/k8s
Mozilla Public License 2.0
668 stars 321 forks source link

NO-JIRA: cleanup iamRoles as part of nightly test cleanup #4382

Closed NiniOak closed 1 week ago

NiniOak commented 1 week ago

Changes proposed in this PR

PROBLEM

Acceptance test in CI are currently failing with error LimitExceeded: Cannot exceed quota for RolesPerAccount: 1000.

SOLUTION

Update the aws-acceptance-test-cleanup script to include cleaning up iamroles created as part of test environment setup.

How I've tested this PR

Tested locally to ensure all exisiting iAMRoles created as part of previous acceptance test runs were cleaned up using this script

How I expect reviewers to test this PR

Checklist