Skip to content

Commit 7ddfa35

Browse files
committed
fix: fix node configuration acceptance test flakiness
1 parent c910347 commit 7ddfa35

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-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" {

0 commit comments

Comments
 (0)