Skip to content

Commit

Permalink
Revert "dont assume users and ownership for efs access point (#984)"
Browse files Browse the repository at this point in the history
This reverts commit 8557fb2.
  • Loading branch information
gordon-klotho authored May 14, 2024
1 parent 38c04ae commit a2c1835
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/engine/testdata/lambda_efs.expect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,13 @@ resources:
Repo: aws:ecr_repo:lambda_test_app-image-ecr_repo
aws:efs_access_point:test-efs-fs:lambda_test_app-test-efs-fs:
FileSystem: aws:efs_file_system:test-efs-fs
PosixUser:
Gid: 1000
Uid: 1000
RootDirectory:
CreationInfo:
OwnerGid: 1000
OwnerUid: 1000
Permissions: "777"
Path: /mnt/efs
Tags:
Expand Down
4 changes: 4 additions & 0 deletions pkg/templates/aws/resources/efs_access_point.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ properties:
properties:
Gid:
type: int
default_value: 1000
Uid:
type: int
default_value: 1000
RootDirectory:
type: map
important: true
Expand All @@ -27,8 +29,10 @@ properties:
properties:
OwnerGid:
type: int
default_value: 1000
OwnerUid:
type: int
default_value: 1000
Permissions:
type: string
default_value: '777'
Expand Down

0 comments on commit a2c1835

Please sign in to comment.