Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Python example for Fargate Service with EFS #1027 #1048

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

hareshksaba
Copy link

Fixes # Adding Python example for Fargate Service with EFS #1027


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link

@ajsailesh ajsailesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, the code is solid and implements a clear example of using AWS CDK to deploy a Fargate service with EFS.

my_file_system_policy = iam.PolicyDocument(
statements=[iam.PolicyStatement(
actions=["elasticfilesystem:ClientMount"],
principals=[iam.AnyPrincipal()],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of using iam.AnyPrincipal(), which is permissive, It might be better to restrict this to specific roles or users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants