Skip to content

Commit

Permalink
fix: Give Atlantis write permission to EFS (#376)
Browse files Browse the repository at this point in the history
* fix: Give Atlantis write permission to EFS

* chore: Update formatting

---------

Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
  • Loading branch information
showwin and bryantbiggs authored Nov 30, 2023
1 parent 70b4a3b commit 1db4a44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.83.5
rev: v1.83.6
hooks:
- id: terraform_fmt
- id: terraform_validate
Expand Down
5 changes: 4 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,10 @@ module "efs" {
override_policy_documents = try(var.efs.override_policy_documents, [])
policy_statements = concat(
[{
actions = ["elasticfilesystem:ClientMount"]
actions = [
"elasticfilesystem:ClientMount",
"elasticfilesystem:ClientWrite",
]
principals = [
{
type = "AWS"
Expand Down

0 comments on commit 1db4a44

Please sign in to comment.