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
Terraform v1.3.7 on darwin_arm64 + provider registry.terraform.io/hashicorp/consul v2.17.0
resource "consul_prepared_query" "service_near_self" { connect = false name = "" near = "_agent" only_passing = true service = "$${match(1)}" dns { ttl = "1m" } failover { targets = [ peer = "peered-dc2", datacenter = "federated-dc3" ] } template { regexp = "^(.*)$" type = "name_prefix_match" } }
With the update to the Consul API, The Terraform Providers should support the new failover.targets attribute.
updated API
The text was updated successfully, but these errors were encountered:
Add support for the targets block in consul_prepared_query
6581c43
Also remove the copyright notices in the examples. Closes hashicorp#332
Add support for the targets block in consul_prepared_query (#340)
8b89c8a
Also remove the copyright notices in the examples. Closes #332
Successfully merging a pull request may close this issue.
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
With the update to the Consul API, The Terraform Providers should support the new failover.targets attribute.
References
updated API
The text was updated successfully, but these errors were encountered: