Search code examples
amazon-web-servicesaws-cloudformationaws-api-gatewayaws-amplify

Amplify Cloudformation templates


My understanding of Amplify is that on amplify push, it somehow processes the separate cloudformation templates for each service (including the parameters.json) and deploys the app. Where does this "master" cloudformation template get stored. For example in the API resource, there is an api-params.json file specifying the endpoint restrictions based on auth roles, but I do not see those in the api cloudformation template. How would I see the final template with the auth restrictions applied to the API Gateway resources?


Solution

    1. You can see your nested Stack and all the templates in the AWS Console -> CloudFormation.
    2. You can see the templates in your code repository locally after performing amplify pull in the amplify/backend/#current-cloud-backend
    3. You can see the templates stored in S3 in your deployment bucket e.g., s3://amplify-appName-envName-someId-deployment/amplify-cfn-templates