You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @aaron-ballard-530 👋 Sorry you ran into unexpected behavior here. Our provider documentation is only truly valid for the current version of the provider.
This issue was originally opened by @aaron-ballard-530 as hashicorp/terraform#18230. It was migrated here as a result of the provider split. The original body of the issue is below.
The documentation says that the variable Priority is optional when creating a ALB Listener Rule. However if it's excluded an error is thrown.
Terraform Version
Terraform Configuration Files
...
Debug Output
Crash Output
Expected Behavior
The priority would be set to the next highest value.
Actual Behavior
An error is produced
Steps to Reproduce
Declare the resource:
resource "aws_lb_target_group" "this"
{
name = "test"
port = 443
protocol = "HTTPS"
vpc_id = "${var.vpc_id}"
health_check {
interval = 5
path = "/check"
port = 443
protocol = "HTTPS"
timeout = 3
healthy_threshold = 3
unhealthy_threshold = 5
matcher = "200"
}
}
resource "aws_lb_listener_rule" "this"
{
listener_arn = "${var.listener_arn}"
action {
type = "forward"
target_group_arn = "${aws_lb_target_group.this.arn}"
}
}
terraform init
terraform apply
Additional Context
References
The text was updated successfully, but these errors were encountered: