Skip to content

Commit

Permalink
Replace manual principal_arn
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanFauble committed May 28, 2024
1 parent 2c0dc1e commit bc70f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ module "eks" {
# One access entry with a policy associated
eks_admin_role = {
kubernetes_groups = []
principal_arn = "arn:aws:iam::766808016710:role/eks_admin_role"
principal_arn = aws_iam_role.admin_role.arn

policy_associations = {
eks_admin_role = {
Expand Down

0 comments on commit bc70f99

Please sign in to comment.