File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ locals {
456456
457457 # Security groups for pods
458458 eks_sgpp_iam_role_policies = { for k , v in {
459- AmazonEKSClusterPolicy = " ${ local . iam_role_policy_prefix } /AmazonEKSVPCResourceController"
459+ AmazonEKSVPCResourceController = " ${ local . iam_role_policy_prefix } /AmazonEKSVPCResourceController"
460460 } : k => v if var . enable_security_groups_for_pods && ! local . create_outposts_local_cluster && ! local . auto_mode_enabled }
461461}
462462
Original file line number Diff line number Diff line change @@ -196,17 +196,17 @@ output "cluster_iam_role_unique_id" {
196196
197197output "node_iam_role_name" {
198198 description = " EKS Auto node IAM role name"
199- value = try (aws_iam_role. this [0 ]. name , null )
199+ value = try (aws_iam_role. eks_auto [0 ]. name , null )
200200}
201201
202202output "node_iam_role_arn" {
203203 description = " EKS Auto node IAM role ARN"
204- value = try (aws_iam_role. this [0 ]. arn , null )
204+ value = try (aws_iam_role. eks_auto [0 ]. arn , null )
205205}
206206
207207output "node_iam_role_unique_id" {
208208 description = " Stable and unique string identifying the IAM role"
209- value = try (aws_iam_role. this [0 ]. unique_id , null )
209+ value = try (aws_iam_role. eks_auto [0 ]. unique_id , null )
210210}
211211
212212# ###############################################################################
You can’t perform that action at this time.
0 commit comments