Skip to content

Commit c11a97a

Browse files
committed
chore: update iam matching regex
Signed-off-by: Kevin Shan <[email protected]>
1 parent 92ef8bd commit c11a97a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/amplify-codegen-e2e-tests/src/cleanup-e2e-resources.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ type AWSAccountInfo = {
9999
};
100100

101101
const BUCKET_TEST_REGEX = /test/;
102-
const IAM_TEST_REGEX = /!RotateE2eAwsToken-e2eTestContextRole|-integtest$|^amplify-|^eu-|^us-|^ap-/;
102+
const IAM_TEST_REGEX = /-RotateE2eAwsToken-e2eTestContextRole|-integtest|^amplify-/;
103103
const STALE_DURATION_MS = 2 * 60 * 60 * 1000; // 2 hours in milliseconds
104104

105105
const isCI = (): boolean => process.env.CI && process.env.CODEBUILD ? true : false;

0 commit comments

Comments
 (0)