Skip to content

Commit 1db4a44

Browse files
showwinbryantbiggs
andauthored
fix: Give Atlantis write permission to EFS (#376)
* fix: Give Atlantis write permission to EFS * chore: Update formatting --------- Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
1 parent 70b4a3b commit 1db4a44

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.83.5
3+
rev: v1.83.6
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_validate

main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,10 @@ module "efs" {
485485
override_policy_documents = try(var.efs.override_policy_documents, [])
486486
policy_statements = concat(
487487
[{
488-
actions = ["elasticfilesystem:ClientMount"]
488+
actions = [
489+
"elasticfilesystem:ClientMount",
490+
"elasticfilesystem:ClientWrite",
491+
]
489492
principals = [
490493
{
491494
type = "AWS"

0 commit comments

Comments
 (0)