Skip to content

Commit

Permalink
Add cluster name suffix to user policy name (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbodor authored and tom-butler committed Jul 23, 2019
1 parent c75d598 commit fb20a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/modules/eks/user_policy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ resource "aws_iam_role" "eks-user" {


resource "aws_iam_policy" "user_policy" {
name = "user-policy"
name = "user-policy.${var.cluster_name}"
description = "Enables EKS users to get the kubeconfig file using aws cli"

policy = <<EOF
Expand Down

0 comments on commit fb20a11

Please sign in to comment.