-
Notifications
You must be signed in to change notification settings - Fork 825
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
How to give serverless container access to non-amplify-managed resources #6918
Comments
As a workaround, can you create an amplify lambda function and invoke it from inside your container, to act as somewhat of a proxy between your container and other non-amplify resources? |
@mattfysh any prospect of adding this capability. I want to move away from lambdas to containers to avoid cold start times for my website, and the workaround doesn't solve that problem for me. |
@amirhajimirsadeghi I don't work on this project sorry, just an idea I had for a workaround. To solve the cold start times, you could create the lambda function then edit the CF template file to set a "provisioned concurrency", if I've understood these docs correctly: https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html |
Another cheap workaround is to create a storage (dynamodb) resource, call it TestEnv. Then give your container permission, once running you can inspect |
Just to follow-up on this thread. We've just published an RFC on this. Would love to get your feedback: #7792 |
Hey, we can now add polices to a Lambda function using custom-polices.json file. Closing the issue. Please refer to #7792 for additional information. |
Which Category is your question related to?
Serverless Containers
Amplify CLI Version
4.45.2
What AWS Services are you utilizing?
Provide additional details e.g. code snippets
I have two issues
How can I modify my cloudformaiton without it being overwritten for this resource? Or is there another approach I need to be taking that I'm unaware of
The text was updated successfully, but these errors were encountered: