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
╷
│ Error: Unsupported argument
│
│ on lb_test.tf line 6, in resource "consul_service" "test":
│ 6: weights = {
│
│ An argument named "weights" is not expected here.╵
Hi @nbari, it is currently not possible because of the version of the provider SDK we are using in the Consul provider. I've been keeping the old SDK for backward compatibility with old versions of Terraform but plan on updating over the next month.
I am creating a service to be used with HAProxy
server-template
, something like this:But I get:
From here, consul seems to support weights: https://github.com/hashicorp/consul/pull/4468/files but how to use them from terraform?
The text was updated successfully, but these errors were encountered: