-
Notifications
You must be signed in to change notification settings - Fork 819
Open
Labels
Description
Is this feature request related to a new or existing Amplify category?
No response
Is this related to another service?
No response
Describe the feature you'd like to request
We need to support the custom-policies.json file that allows functions to access existing AWS resources that are managed outside of the amplify environment.
For multi environment support, we also need to convert ${env} to ${branchName}
Describe the solution you'd like
The solution should use CDK code to explicitly add the policies to the appropriate functions.
backend.myfunction.resources.lambda.addToPrincipalPolicy(...)`Describe alternatives you've considered
None. I'm not sure if there is a native way to support this in Gen2, if there is we should use that one.
Additional context
No response
Is this something that you'd be interested in working on?
- ๐ I may be able to implement this feature request
Would this feature include a breaking change?
-
โ ๏ธ This feature might incur a breaking change
Reactions are currently unavailable