-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Modifications of ElasticBeanstalk envvars causes incorrect state #8742
Comments
I'm also observing this behaviour - all updated envvars get removed during the update. 0.7.2 is affected here too. |
0.7.3 has the same problem. |
Hey Friends, I'm looking into this now. An update was mentioned, can you clarify for me, you're talking about simply updating the env vars and getting inconsistent state, not necessarily updating from Terraform versions? Meaning that the upgrade from one version to the next is not when this happens, but instead once you're on the new version(s), updating env vars is not behaving correctly. Is that right? Thanks! Sorry for the trouble here |
That is correct. |
Hey everyone – I believe #8848 should fix this; I was able to find an error in the logic and it should be cleaned up now. If you can test it out that would be great, otherwise we'll rely on my testing and the new acceptance test behavior. Sorry for the trouble! |
Awesome, this has resolved our problem! Thanks @catsby! Do you know when this is likely to hit an official release? We've got multiple terraformers on our team and I don't really want to have to get everyone to |
Hey @leemhenson – we just merged the fix, this will go out in the next release. I don't know 100% sure when that will be, and I make no promises, but I suspect early next week |
Good to know, thanks. On Thu, 15 Sep 2016 at 20:11 Clint notifications@github.com wrote:
|
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. |
Terraform Version
0.7.1
Affected Resource(s)
aws_elastic_beanstalk_environment
Terraform Configuration Files
Debug Output
The apply result listed in Atlas: https://gist.github.com/plukevdh/6c1a1933b9ec7331e865ec93ab4b590b
Expected Behavior
I should have seen all three env vars listed in the settings in the EB console:
AWS_REGION
,REDIS_URI
,RICKROLL
Actual Behavior
Only
AWS_REGION
andRICKROLL
were present.Steps to Reproduce
I modified the tf config above to modify the
REDIS_URI
value from"redis://${aws_elasticache_cluster.redis.cache_nodes.0.address}:6379/"
to"redis://${aws_elasticache_cluster.redis.cache_nodes.0.address}:6379"
(removing the trailing slash).I added the
RICKROLL
setting
block as seen above.I then ran
terraform apply
via our hosted Atlas. The result is theREDIS_URI
was unset and removed while the newerRICKROLL
value was added successfully.References
The text was updated successfully, but these errors were encountered: