Skip to content

Commit

Permalink
feat: Correct EFS CSI driver permissions to support tagging (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed May 16, 2023
1 parent 189e3e1 commit 90a70ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: detect-aws-credentials
args: ['--allow-missing-credentials']
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.78.0
rev: v1.79.1
hooks:
- id: terraform_fmt
- id: terraform_docs
Expand Down
6 changes: 4 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,10 @@ data "aws_iam_policy_document" "aws_efs_csi_driver" {
}

statement {
sid = "AllowCreateAccessPoint"
actions = ["elasticfilesystem:CreateAccessPoint"]
actions = [
"elasticfilesystem:CreateAccessPoint",
"elasticfilesystem:TagResource",
]
resources = local.efs_arns

condition {
Expand Down

0 comments on commit 90a70ba

Please sign in to comment.