aws-amplify / aws-amplify/amplify-hosting
Is there a way to bulk edit env variables all at once
- Dominant language
- Dockerfile
- Stars
- 481
- Forks
- 123
- PR merge metrics
- No merged PRs in 30d
Description
### Before opening, please confirm:
- [X] I have checked to see if my question is addressed in the [FAQ](https://github.com/aws-amplify/amplify-hosting/blob/master/FAQ.md).
- [X] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-hosting/issues?q=is%3Aissue+).
- [X] I have read the guide for [submitting questions](https://github.com/aws-amplify/amplify-hosting/blob/master/CONTRIBUTING.md).
- [X] I have removed any sensitive information from my code snippets and submission.
### App Id
NEW_APP
### AWS Region
us-east-1
### Amplify Hosting feature
Environment variables
### Question
Is there any other way to edit environment variables in a batch instead of manually enter the overrides through Settings > Environment Variables via AWS Amplify Console?
I am asking this is because we found whenever we toggle on/off the CI/CD for backend environment pointing, the already set-up environment variables are completely cleared out. After repeating the manual process which in our case, we have around 10 branches for 20 environment variables. To have a feature like edit the environment variables in a YML file would be extremely helpful.
Contributor guide
Research direction
Start by reviewing FAQ.md and the AWS Amplify Console Settings > Environment Variables workflow described in the issue. Investigate how environment variables are handled when CI/CD backend environment pointing is toggled and whether a YAML-based or other batch-edit entry point exists. Done means defining and validating a supported way to update variables across the reported branches without losing existing values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- ci-cd, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100