Skip to content

Commit

Permalink
Merge pull request #300 from opendatacube/worker_policy_fix
Browse files Browse the repository at this point in the history
Fix a simple terraform error
  • Loading branch information
stacyhorton authored May 14, 2024
2 parents 96ea7e6 + 0cba4aa commit 1c8e3c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odc_eks/modules/eks/worker_policy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ resource "aws_iam_role_policy_attachment" "eks_node_kube2iam" {

resource "aws_iam_role_policy_attachment" "eks_node_pullthrough" {
count = (var.enable_ecr_pullthough_cache_permissions ? 1 : 0)
policy_arn = aws_iam_policy.ecr_pullthrough_cache.arn
policy_arn = aws_iam_policy.ecr_pullthrough_cache[0].arn
role = aws_iam_role.eks_node.name
}

Expand Down

0 comments on commit 1c8e3c3

Please sign in to comment.