Looking at the code I found that the awsmobile configure can be made completely non-interactive but I didn't find any documentation for it, which I think would've convenient.
By providing your credentials in the right order you can simply skip the interaction and let awsmobile configure automatically. Very convenient in CI!
Looking at the code I found that the
awsmobile configure
can be made completely non-interactive but I didn't find any documentation for it, which I think would've convenient.By providing your credentials in the right order you can simply skip the interaction and let awsmobile configure automatically. Very convenient in CI!
Example:
awsmobile configure aws $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY $AWS_DEFAULT_REGION