You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Karpenter Sub-Module appears to incorrectly generate the ARN for the AmazonEKS_CNI_IPv6_Policy. Specifically, it seems that it doesn't consider the AWS account ID when generating the ARN.
✋ I have searched the open/closed issues and my issue is not listed.
The Karpenter Submodule uses the following line to calculate the IAM policy:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
The Karpenter Sub-Module appears to incorrectly generate the ARN for the
AmazonEKS_CNI_IPv6_Policy
. Specifically, it seems that it doesn't consider the AWS account ID when generating the ARN.The Karpenter Submodule uses the following line to calculate the IAM policy:
The
eks-managed-node-group
module calculates the ARN as follows:This should be a simple one-liner fix by having the Karpenter module calculate the ARN the same way. Or, wait for AWS to add this as a managed policy.
Versions
Module version [Required]:
Terraform version: v1.5.0
Provider version(s):
Reproduction Code [Required]
Expected behavior
The module applies without errors.
Actual behavior
The module fails while looking for the IAM policy which does not exist. Specifically:
arn:aws:iam::aws:policy/AmazonEKS_CNI_IPv6_Policy
It should be looking for the following:
arn:aws:iam::XXXXXXXXXXXXX:policy/AmazonEKS_CNI_IPv6_Policy
The text was updated successfully, but these errors were encountered: