Skip to content

Commit

Permalink
Added efs environment name
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyerra committed Oct 6, 2023
1 parent 09b9542 commit 56d8a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion efs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module "iam_assumable_role_efs_csi" {
source = "terraform-aws-modules/iam/aws//modules/iam-assumable-role-with-oidc"
version = "3.6.0"
create_role = true
role_name = "AmazonEFSCSIDriverPolicy"
role_name = "${var.environment_name}-AmazonEFSCSIDriverPolicy"
provider_url = replace(aws_iam_openid_connect_provider.cluster.url, "https://", "")
role_policy_arns = ["arn:aws:iam::aws:policy/service-role/AmazonEFSCSIDriverPolicy"]
# namespace and service account name
Expand Down

0 comments on commit 56d8a61

Please sign in to comment.