question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Amplify-cli@env renaming an environment

See original GitHub issue

Is 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:open
  • Created 5 years ago
  • Reactions:5
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

24reactions
camin-mccluskeycommented, Feb 4, 2020

@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

9reactions
kaustavghosh06commented, Jan 10, 2019

@ajhool Let’s keep this open since this is a useful feature request (although it won’t be immediately prioritized).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found