Skip to content

Commit

Permalink
adding ebscsidriver policy
Browse files Browse the repository at this point in the history
  • Loading branch information
sagacity-om-kumar committed Mar 7, 2024
1 parent 20f499a commit 4e616b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra-as-code/terraform/sample-aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ resource "kubernetes_annotations" "example" {

resource "aws_iam_role_policy_attachment" "cluster_AmazonEBSCSIDriverPolicy" {
policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonEBSCSIDriverPolicy"
role = "${aws_iam_role.eks_iam.name}"
role = module.eks.cluster_iam_role_name
}

resource "aws_iam_role_policy_attachment" "cluster_AmazonEC2FullAccess" {
Expand Down

0 comments on commit 4e616b0

Please sign in to comment.