-
Notifications
You must be signed in to change notification settings - Fork 820
Description
Note: If your feature-request is regarding the AWS Amplify Console service, please log it in the
official AWS Amplify Console forum
Is your feature request related to a problem? Please describe.
There seems to be no way to answer No to the question:
Do you plan on modifying this backend?
When running headless amplify pull.
I find this annoying in the case of React Native app CI/CD building scripts. I want to build my app on git push, so I need to include the aws-exports.js file which I don't have in the git repo. This feature would allow me to retrieve the amplify project meta data only, in the building script, without updating the project in the cloud.
Describe the solution you'd like
I would like a new argument to the headless amplify pull (https://docs.amplify.aws/cli/usage/headless#amplify-pull-parameters) that answers Yes or No to the question: Do you plan on modifying this backend?
Describe alternatives you've considered
I can still commit the aws-exports.js file, but it's really annoying when working with teammates on several environments.
The solution I am considering is to host the aws-exports.js files somewhere and download them with a curl in the CI/CD scripts. But that would mean updating those files when amplify project is updated.