Commit 3e2ea83
authored
fix: Allow
Removed EC2 type from condition so policy attachement for access entry can be done for EC2 type for creating access entry for Node role.
While Creating Access entry for Self managed node role, we were getting below error as it seems EC2 type is included in exception for policy attachment. Once I removed EC2 from exception condition, it started picking up Policy attachment and Access Entry got created.
│ Error: Unsupported attribute
│
│ on .terraform/modules/eks/main.tf line 289, in resource "aws_eks_access_policy_association" "this":
│ 289: policy_arn = each.value.association_policy_arn
│ ├────────────────
│ │ each.value is object with 3 attributes
│
│ This object does not have an attribute named "association_policy_arn"."EC2" access entry type for EKS Auto Mode custom node pools (#3281)1 parent 7acf66f commit 3e2ea83
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
0 commit comments