amazon-archives / awsmobile-cli

CLI experience for Frontend developers in the JavaScript ecosystem.
Apache License 2.0
142 stars 35 forks source link

Managing multiple environments within awsmobile #114

Closed oluomoniyi closed 5 years ago

oluomoniyi commented 6 years ago

Been using awsmobile for a bit now and loving it, just have a query/feature request.

Is there anyway to manage multiple environments within awsmobile e.g dev, QA, production?

Something like awsmobile create new environment awsmobile publish to new environment

elorzafe commented 6 years ago

Hi @oluomoniyi, Thanks for your feedback and I am glad that you like use the awsmobile-cli!

Currently managing multiple environments is supported, I will mark this as a feature-request.

ianpogi5 commented 6 years ago

I would like to know the answer to this as well.

funkfinger commented 6 years ago

following this issue, as I too have this question. Would love to see something like awsmobile publish --environment production ...

keithdmoore commented 6 years ago

This is a really important feature that is currently missing. Hopefully this gets addressed soon. Meanwhile, we all have to implement some custom hack to be able to deploy to dev, staging, prod, etc.

swaminator commented 5 years ago

Hi all, I'm a PM at AWS. While we currently do not have support for environments there is a workaround here: https://stackoverflow.com/questions/50736739/how-to-handle-development-to-production-process-with-multiple-aws-services/50751535#50751535

If anyone is interested in signing up to a beta to try out new/unreleased features, let me know your email address and I'll get in touch!

swaminator commented 5 years ago

@oluomoniyi @keithdmoore @funkfinger @ianpogi5 Let me know if you'd be interested in chatting about multiple environments. If you could share your emails, I'll set something up.

davidfarinha commented 5 years ago

I also require a multi-environment setup with my Amplify project- where it should be hosted in us-west-2 for dev and eu-west-1 for production. Any advice on this would be much appreciated! My email is davidfarinha@hotmail.co.uk

rizerzero commented 5 years ago

@swaminator Hi, i'm also interested here is my email jbe.persee@gmail.com Thank you.

keithdmoore commented 5 years ago

@swaminator My email address is: keith@kdmooreconsulting.com

oluomoniyi commented 5 years ago

Looks like this has been implemented now https://aws-amplify.github.io/docs/cli/multienv?sdk=js

👍

swaminator commented 5 years ago

The Amplify CLI now supports team workflows. If you're looking to use the Amplify CLI in conjunction with the Console, you can view the recommended workflow here: https://docs.aws.amazon.com/amplify/latest/userguide/multi-environments.html