Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing Elastic Beanstalk Environment Variables #6890

Closed
tecnobrat opened this issue May 26, 2016 · 2 comments · Fixed by #7777
Closed

Removing Elastic Beanstalk Environment Variables #6890

tecnobrat opened this issue May 26, 2016 · 2 comments · Fixed by #7777

Comments

@tecnobrat
Copy link

On terraform 0.6.16

If I remove a setting with the namespace of aws:elasticbeanstalk:application:environment, terraform says its removed, however the AWS console still has that setting, as well as the API still returns a value for that setting.

Also, if I add a environment variable manually in the AWS console and then re-run a plan, terraform doesn't seem to see that value and try to remove it.

It looks like when terraform refreshes its state from AWS, it doesn't properly catalog aws:elasticbeanstalk:application:environment keys, certainly not ensuring that there are not extra or missing keys.

@apparentlymart apparentlymart changed the title Removing Beanstalk Environment Variables Removing Elastic Beanstalk Environment Variables May 26, 2016
catsby added a commit that referenced this issue Jul 22, 2016
Fixes the logic that updated settings for Elastic Beanstalk Environments.
Because the update is done in the same API call, we need to split removals /
additions.

Fixes #6890
@parabolic
Copy link

+1 I just ran into this problem, can we see to it that it's fixed.

terraform --version
Terraform v0.6.16

Thanks.

catsby added a commit that referenced this issue Jul 28, 2016
Fixes the logic that updated settings for Elastic Beanstalk Environments.
Because the update is done in the same API call, we need to split removals /
additions.

Fixes #6890
stack72 pushed a commit that referenced this issue Aug 7, 2016
#7777)

* provider/aws: Fix issue updating ElasticBeanstalk Environment Settings

Fixes the logic that updated settings for Elastic Beanstalk Environments.
Because the update is done in the same API call, we need to split removals /
additions.

Fixes #6890

* add acc test that fails on master
@ghost
Copy link

ghost commented Apr 23, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants