-
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
aws_lb_target_group health_check.0.matcher no longer defaults to 200 #2327
Comments
Just encountered the same issue! |
@dabdine-r7 yeah, super sudden. We worked around it by supplying the matcher in our module, but kind of a nasty surprise to have all of our deployments fail |
this affected us on terraform 0.10.8 as well, FWIW. |
Got this too. |
Hi folks, The default value was intentionally removed to support TCP-based target groups where matcher is irrelevant. I was under the impression that this change shouldn't cause problems for existing deployments, but I was clearly wrong. btw. it is mentioned in https://github.com/terraform-providers/terraform-provider-aws/blob/master/CHANGELOG.md#130-november-16-2017 I'm not sure if it's worth adding migration at this point - @catsby what do you think? |
+1 Hitting the same error 1 error(s) occurred:
Is there a quick WorkAround for this one. Critical Blocker |
The quick work around is to add a |
I really dislike having my infrastructure just break randomly on me like this. Is it just:
? And is https://github.com/terraform-providers/terraform-provider-aws/blob/master/CHANGELOG.md the right place to keep an eye on when looking at upgrades? |
Hi @shorn Yes, you're right for both of your questions. Locking is always a good idea to avoid such slidings, and allows you to control your changes over upgrades, so that you can plan a migration based on the Changelog and potential breaking changes. As @catsby exposed it, adding the 200 matcher value is the necessary step here. This Load Balancer work was a pretty huge one, so we're sorry if any issue have been encountered. |
Another solution for the problem is to use an old version of the AWS module.
|
I've opened a PR to address this in #2380 |
@danstepanov Something like this inside your aws_alb_target_group resource:
I hope this helps. |
Hi folks 👋 I'm not sure why this really old issue is still open as it appears to have been resolved awhile ago, but if you are still experiencing an issue please open a new GitHub issue filling out the issue details. Thanks so much. |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
The LB target group health check matcher default value has changed from versions 1.2 of aws provider to 1.3.0 of the aws provider.
Terraform Version
0.10.7
Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Debug Output
Expected Behavior
An unset health checker shoulder set the matcher codes to 200 per the documentation
Actual Behavior
AWS Provider 1.2 worked fine. With aws provider 1.3.0 the matcher is no set to an empty string and this is invalid
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
The text was updated successfully, but these errors were encountered: