Skip to content

Commit 1fb1cfc

Browse files
authored
fix: Fixed example where VPC CNI permissions should apply to the aws-node account (#225)
1 parent 5b792f2 commit 1fb1cfc

File tree

1 file changed

+2
-2
lines changed
  • examples/iam-role-for-service-accounts-eks

1 file changed

+2
-2
lines changed

examples/iam-role-for-service-accounts-eks/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ module "vpc_cni_ipv4_irsa_role" {
255255
oidc_providers = {
256256
ex = {
257257
provider_arn = module.eks.oidc_provider_arn
258-
namespace_service_accounts = ["kube-system:aws-vpc-cni"]
258+
namespace_service_accounts = ["kube-system:aws-node"]
259259
}
260260
}
261261

@@ -272,7 +272,7 @@ module "vpc_cni_ipv6_irsa_role" {
272272
oidc_providers = {
273273
ex = {
274274
provider_arn = module.eks.oidc_provider_arn
275-
namespace_service_accounts = ["kube-system:aws-vpc-cni"]
275+
namespace_service_accounts = ["kube-system:aws-node"]
276276
}
277277
}
278278

0 commit comments

Comments
 (0)