Skip to content

Commit 61cdf8f

Browse files
authored
feat: Ensure EFS is owned by the posix_user to avoid permission issues (#287)
1 parent 1cb9812 commit 61cdf8f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

main.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,15 @@ resource "aws_efs_access_point" "this" {
469469
gid = local.gid
470470
uid = local.uid
471471
}
472+
473+
root_directory {
474+
path = "/home/atlantis"
475+
creation_info {
476+
owner_gid = local.gid
477+
owner_uid = local.uid
478+
permissions = 0750
479+
}
480+
}
472481
}
473482

474483
################################################################################

0 commit comments

Comments
 (0)