We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aadfa5d commit 5f95549Copy full SHA for 5f95549
main.tf
@@ -324,11 +324,7 @@ resource "aws_eks_access_policy_association" "this" {
324
cluster_name = aws_eks_cluster.this[0].id
325
326
policy_arn = each.value.association_policy_arn
327
- principal_arn = each.value.principal_arn
328
-
329
- depends_on = [
330
- aws_eks_access_entry.this,
331
- ]
+ principal_arn = aws_eks_access_entry.this[each.value.entry_key].principal_arn
332
}
333
334
################################################################################
0 commit comments