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
I am trying to creating a automode enabled EKS cluster with custom nodepools and nodeclasses and while trying to provide access entry to the role AmazonEKSAutoNodePolicy, I tried to attachthe accesspolicy AmazonEKSAutoNodePolicy
If your request is for a new feature, please use the Feature request template.
✋ I have searched the open/closed issues and my issue is not listed.
I expect that a new access entry with the role AmazonEKSAutoNodeRole of type EC2 is created and the cluster policy AmazonEKSAutoNodePolicy is attached to it.
Actual behavior
I am observing the below error while associating the access policy to the role.
│ on .terraform/modules/eks/main.tf line 284, in resource "aws_eks_access_policy_association" "this":
│ 284: type = each.value.association_access_scope_type
│ ├────────────────
│ │ each.value is object with 3 attributes
│
│ This object does not have an attribute named
│ "association_access_scope_type".
╵
╷
│ 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".
╵
The text was updated successfully, but these errors were encountered:
theincognitogeek
changed the title
unable to access policies to access entries of type EC2
unable to attach access policies to access entries of type EC2
Jan 10, 2025
Description
I am trying to creating a automode enabled EKS cluster with custom nodepools and nodeclasses and while trying to provide access entry to the role AmazonEKSAutoNodePolicy, I tried to attachthe accesspolicy AmazonEKSAutoNodePolicy
If your request is for a new feature, please use the
Feature request
template.Versions
Module version [Required]:
~> 20.0
Terraform version:
1.9.8
Provider version(s):
~> 5.0
Reproduction Code [Required]
Steps to reproduce the behavior:
Expected behavior
I expect that a new access entry with the role
AmazonEKSAutoNodeRole
of typeEC2
is created and the cluster policyAmazonEKSAutoNodePolicy
is attached to it.Actual behavior
I am observing the below error while associating the access policy to the role.
The text was updated successfully, but these errors were encountered: