Open hrmoller opened 6 years ago
Thanks for the feedbacks, @hrmoller init without projectID covers other use cases in which developers need to quickly setup the cloud backend for their frontend project, so it should not fail.
Well, I didn't post it very clear but I thought it just could be an option passed to the command e.g. --no-default
So, in our current setup, in CI, we're doing a
awsmobile init -y $PROJECT_ID
on each deploy but if no project ID is provided in$PROJECT_ID
a new project is being initialised in the AWS MobileHub.I think it would be a nice option to allow
awsmobile init
to fail if no project ID is provided instead of creating a new project.