communishift: fix filesystem permissions on efs storage mount

Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Patrik Polakovic <ppolakov@redhat.com>
This commit is contained in:
David Kirwan 2022-09-12 13:10:55 +01:00
parent b1b7dc507f
commit 44dea690d5

View file

@ -132,15 +132,15 @@ def run_module():
{"Key": "Name", "Value": module.params["project_name"]},
],
FileSystemId=module.params["aws_efs_filesystem_id"],
# PosixUser={
# "Uid": 50000,
# "Gid": 50000,
# },
PosixUser={
"Uid": 1001,
"Gid": 1001,
},
RootDirectory={
"Path": "/",
"CreationInfo": {
"OwnerUid": 1001,
"OwnerGid": 1001,
"OwnerUid": 0,
"OwnerGid": 0,
"Permissions": "777",
},
},