CLI should ask before creating cloud data
See original GitHub issueIs your feature request related to a problem? Please describe.
When you do amplify init it is unclear that Amplify will create anything in the cloud`
Describe the solution you’d like
Before creating anything during init phase, CLI should explicitly ask permission to create anything in the cloud
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Best Practices Building a CLI Tool for Your Service
Best Practices Building a CLI Tool for Your Service · Provide an Excellent Help Screen · “Steal, Steal, Steal” · Test Different Setups...
Read more >Initializing the gcloud CLI | Google Cloud CLI Documentation
Initialize the gcloud CLI · Run gcloud init : gcloud init · Create or select a configuration if prompted. · Complete the authorization...
Read more >Command Line Interface - AWS CLI
The AWS Command Line Interface (AWS CLI) is a unified tool to manage your AWS services. With just one tool to download and...
Read more >Quickstart: Create, download, and list blobs with Azure CLI
To access Azure Storage, you'll need an Azure subscription. If you don't already have a subscription, create a free account before you begin....
Read more >Quickstart
Before using the CLI, you must create a configuration file that contains the required credentials for working with Oracle Cloud ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Agreed that
amplify initprobably shouldn’t provision AWS resources until the firstamplify push.This feature also makes sense in AWS Accounts which are governed under AWS orgs. Scenario:
3 Accounts: dev, staging, prod
Only for dev one has “human” assumable role and the others are staged through CICD. Let’s say we create an env dev in dev and just want to stage the same setup all the way towards prod.
Then
amplify initactually fails as it does not have local state for the environment staging and prod.