-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Terraform incorrectly says elastic beanstalk environment has changed #461
Comments
maybe also related, is the option, which maybe is causing the update when it should not. |
Also running into this issue, consistent with what @nelg suggests (application healthcheck url) |
@ltartarini90 brought up something in the parent ticket that was not brought over when the ticket got transferred to this.... Is there such a way to ignore certain changes, since these are subitems of the settings block?
But how can I ignore a certain setting? |
Asking me, every time I run
|
I also have the same issue and it causes environment to rebuild |
I see this issue in WorkerQueueUrl when I am specifying a queue url myself:
|
As @adjavaherian noted in issue 43 - "It looks like some of these problems can be solved by using an app template". |
For my use case, based on cloudposse/terraform-aws-elastic-beanstalk-environment#43 ( Also, I didn't use https://github.com/cloudposse/terraform-aws-elastic-beanstalk-environment since it adds many things I don't need, so I kept things simple just using |
I feel this could be easily solved by rewriting the comparison to accept out of order settings. We should also discuss what to do in case of conflicting settings between those defined and those in |
I also had this issue and solved it by moving all my settings from aws_elastic_beanstalk_environment to aws_elastic_beanstalk_configuration_template as per @Ekik comment. |
This issue is related to #1471. I had a similar problem with |
This issue was originally opened by @danhaller as hashicorp/terraform#11056. It was migrated here as part of the provider split. The original body of the issue is below.
TF version: 0.8.2
Resources affected: aws_elastic_beanstalk_environment
When an aws_elastic_beanstalk_environment has the setting aws:autoscaling:launchconfiguration:SecurityGroups set with multiple security groups, the security groups get reordered during a
terraform plan
, causing the resource to incorrectly be marked as changed.From looking through issues it seems that the underlying AWS APIs sometimes reorder things. Possibly related to hashicorp/terraform#6642
The text was updated successfully, but these errors were encountered: