Skip to content

Commit

Permalink
feat: Ensure EFS is owned by the posix_user to avoid permission issues (
Browse files Browse the repository at this point in the history
  • Loading branch information
affelaffen authored Jun 15, 2022
1 parent 1cb9812 commit 61cdf8f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,15 @@ resource "aws_efs_access_point" "this" {
gid = local.gid
uid = local.uid
}

root_directory {
path = "/home/atlantis"
creation_info {
owner_gid = local.gid
owner_uid = local.uid
permissions = 0750
}
}
}

################################################################################
Expand Down

0 comments on commit 61cdf8f

Please sign in to comment.