Skip to content

Commit 2f1b7eb

Browse files
authored
fix: fix node configuration acceptance test flakiness (#581)
1 parent c910347 commit 2f1b7eb

File tree

2 files changed

+99
-0
lines changed

2 files changed

+99
-0
lines changed

castai/resource_node_configuration_eks_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,13 @@ resource "aws_iam_role" "test" {
263263
},
264264
]
265265
})
266+
267+
# Ignoring because AWS changes the ARN to an internal ID whenever a role is recreated and it causes flakiness
268+
# due to occasional drift
269+
# https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#principal-roles
270+
lifecycle {
271+
ignore_changes = [assume_role_policy]
272+
}
266273
}
267274
268275
resource "aws_iam_role_policy_attachment" "test" {

castai/sdk/api.gen.go

Lines changed: 92 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)