We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This issue was originally opened by @kwach as hashicorp/terraform#16690. It was migrated here as a result of the provider split. The original body of the issue is below.
Hi there,
Docuentation states that matcher is an optional field, however without it I get an error:
matcher
Error creating LB Target Group: ValidationError: Health check matcher HTTP code cannot be empty
$ terraform --version Terraform v0.11.0
resource "aws_alb_target_group" "tg" { name = "tf-tg-${terraform.env}-${element(keys(var.api_service_redirections),count.index)}" port = "${element(values(var.api_service_redirections),count.index)}" protocol = "${upper(var.alb_protocol)}" vpc_id = "${module.vpc.vpc_id}" health_check { interval = 30 path = "/" port = "${var.tg_health_check_port}" healthy_threshold = 3 unhealthy_threshold = 3 timeout = 5 protocol = "${upper(var.tg_health_check_protocol)}" matcher = "200,202" #<------ } tags = { "Terraform" = "true" "Environment" = "${terraform.env}" } count = "${length(keys(var.api_service_redirections))}" }
Optional field should not be required
An error: Error creating LB Target Group: ValidationError: Health check matcher HTTP code cannot be empty
Please list the full steps required to reproduce the issue, for example:
terraform init
terraform apply
The text was updated successfully, but these errors were encountered:
I am experiencing the same issue, it started today
Sorry, something went wrong.
Same here
Hey all – I'm closing this as a duplicate of #2327, please track it there. I'm currently working on this, but I'm afraid I do not have an ETA
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!
No branches or pull requests
This issue was originally opened by @kwach as hashicorp/terraform#16690. It was migrated here as a result of the provider split. The original body of the issue is below.
Hi there,
Docuentation states that
matcher
is an optional field, however without it I get an error:Terraform Version
$ terraform --version
Terraform v0.11.0
Terraform Configuration Files
Expected Behavior
Optional field should not be required
Actual Behavior
An error:
Error creating LB Target Group: ValidationError: Health check matcher HTTP code cannot be empty
Steps to Reproduce
Please list the full steps required to reproduce the issue, for example:
terraform init
terraform apply
The text was updated successfully, but these errors were encountered: