Improve documentation for configure command (non-interactive)
hrmoller opened this issue · 1 comments
hrmoller commented
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
UnleashedMind commented
Thanks for the feedbacks.
Yes, that's a correct way to use the cli, mostly for scripting.