[EFS]: default file system policy will be created by file_system_policy=None #30753
Labels
@aws-cdk/aws-efs
Related to Amazon Elastic File System
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
p2
Describe the bug
During creation of EFS with explicit or implicit setting file_system_policy=None the following policy will be created on a file system.
This causes an error e.g. on ECS Task to create a volume and mount point on EFS. By removing the policy from EFS the creation of mount point succeeds
Expected Behavior
In case file_system_policy=None or not providing it at all no policy is created on EFS
Current Behavior
Regardless of file_system_policy value the policy on file system is created
Reproduction Steps
create an EFS using efs.FileSystem(...) class without providing any policy to file_system_policy parameter (default is None)
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.147.3 (build 32f0fdb)
Framework Version
No response
Node.js Version
v20.11.1
OS
Ubuntu 20.04
Language
Python
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: