You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working with many CDK resources, it's useful to have access to the region and account ID of the stack where I'm deploying my Amplify app.
Hardcoding these values can be problematic at times, so ideally I'd like to be able to interpolate these values, similar to what I can do already in CDK.
Ideally, I'd like to be able to do something like this or similar to this:
For example, when working with Lambda layers, customers need to specify the ARN of the layer they want to attach to a function. These ARNs need to be in the same region where the function is being deployed.
Hardcoding the region makes the stack not portable.
The text was updated successfully, but these errors were encountered:
Environment information
Describe the feature
When working with many CDK resources, it's useful to have access to the region and account ID of the stack where I'm deploying my Amplify app.
Hardcoding these values can be problematic at times, so ideally I'd like to be able to interpolate these values, similar to what I can do already in CDK.
Ideally, I'd like to be able to do something like this or similar to this:
alternatively, I'd like to be able to use a regular CloudFormation variable and have Amplify leave it as-is in the final stack:
Use case
For example, when working with Lambda layers, customers need to specify the ARN of the layer they want to attach to a function. These ARNs need to be in the same region where the function is being deployed.
Hardcoding the region makes the stack not portable.
The text was updated successfully, but these errors were encountered: