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

Feature Request - automated deployment for larger projects #6387

Closed
kenbankspeng opened this issue Jan 14, 2021 · 4 comments
Closed

Feature Request - automated deployment for larger projects #6387

kenbankspeng opened this issue Jan 14, 2021 · 4 comments
Assignees
Labels
pending-response Issue is pending response from the issue author pending-triage Issue is pending triage platform Issues tied to the general CLI platform

Comments

@kenbankspeng
Copy link

Is your feature request related to a problem? Please describe.
Since for larger projects, due to the number of policies that Amplify injects into authRole for the various required Lambda permissions, the push of the Amplify deployment will fail since AWS limitations on total role size will be greatly exceeded.

As a fallback, I have created an optimized permissions authRole policy that is much smaller allowing us to stay under the AWS policy role limitations.

Unfortunately deployment now involves manual participation that while the deployment push is running, I must delete the inline IAM policy statements fast enough as they are being generated and pushed by Amplify so as to remain under the AWS limit.

Failure to due so will result in an error and Amplify will revert the entire deployment.

Describe the solution you'd like
An automated deployment for larger projects

Describe alternatives you've considered
Serverless

Thank you.

@attilah attilah added enhancement platform Issues tied to the general CLI platform labels Jan 14, 2021
@attilah
Copy link
Contributor

attilah commented Jan 14, 2021

@kenbankspeng thanks for the suggestion we are aware of the issue and as it is addressed for GraphQL APIs we plan to support it for other resources to unblock customers with larger projects.

Related issues: #2084, #3815

@MaximilianSchon
Copy link

@attilah It says that #2084 is closed because the issue has been adressed on the current CLI, but I still get this issue on the current (5.1.2) CLI.

@siegerts siegerts added feature-request Request a new feature and removed enhancement labels Sep 3, 2021
@ykethan
Copy link
Member

ykethan commented Nov 17, 2022

Hey @kenbankspeng, are you still experiencing this issue. Please refer to #2084 mitigating this.

@ykethan ykethan added pending-response Issue is pending response from the issue author pending-triage Issue is pending triage and removed feature-request Request a new feature labels Nov 17, 2022
@ghost
Copy link

ghost commented Nov 17, 2022

The authRole permissions are constructed much more efficient than it used to be while still targeting fine grain configurability. I can manually optimize permissions for my application much better, but I can see why that is not easily achieved by Amplify-CLI while still supporting fine grain. This can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-response Issue is pending response from the issue author pending-triage Issue is pending triage platform Issues tied to the general CLI platform
Projects
None yet
Development

No branches or pull requests

7 participants