Amplify-cli@env renaming an environment
See original GitHub issueIs your feature request related to a problem? Please describe.
Is it possible to rename an environment from, say “maaster” to “master”? The issue I’m currently facing is that I did not rename the environment when I switched to amplify-cli@env (so my only environment is called: “NONE”). I would like to rename this NONE environment to dev while preserving existing backend resources.
Describe the solution you’d like
amplify env rename dev
> Enter new name: (dev)
Describe alternatives you’ve considered Creating a new branch, although I have some data, currently, that I’d rather not lose.
Additional context amplify-ci@env --version: 0.2.1-multienv.22
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:17 (4 by maintainers)
Top Results From Across the Web
How can I change my environment names in AWS Amplify?
I can't find an option to rename these (e.g. to Prod and Test). Fyi, I do manual zip file uploads so only have...
Read more >Rename Conda Environment (2 commands) - OpenGenus IQ
Step 1: Find the Conda environment to clone; Step 2: Get out of the environment; Step 3.1: Rename using Clone command; Step 3.2:...
Read more >Team environments - Overview - AWS Amplify Docs
View the list of backend environments in your cloud project by visiting the Amplify Console. For multiple environments, Amplify matches the standard Git ......
Read more >Rename and cleanup conda Python environment
How to rename conda Python environments and see how much space each environments is using.
Read more >conda rename
conda rename. Renames an existing environment. This command renames a conda environment via its name (-n/--name) or its prefix (-p/--prefix).
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

@kaustavghosh06 Hey is there any update on if/when this might be prioritised? I very foolishly named the env we now use in production as test and it would be great to either rename this or somehow switch the branch we use for production to be a new branch which has the correct name
@ajhool Let’s keep this open since this is a useful feature request (although it won’t be immediately prioritized).