[...]
│ Error: Invalid Attribute Value Match
│
│ with stackit_loadbalancer.example,
│ on main.tf line 78, in resource "stackit_loadbalancer" "example":
│ 78: resource "stackit_loadbalancer" "example" {
│
│ Attribute listeners[0].protocol value must be one of: ["`PROTOCOL_UNSPECIFIED`"
│ "`PROTOCOL_TCP`" "`PROTOCOL_UDP`" "`PROTOCOL_TCP_PROXY`" "`PROTOCOL_TLS_PASSTHROUGH`"], got:
│ "PROTOCOL_TCP"
╵
╷
│ Error: Invalid Attribute Value Match
│
│ with stackit_loadbalancer.example,
│ on main.tf line 78, in resource "stackit_loadbalancer" "example":
│ 78: resource "stackit_loadbalancer" "example" {
│
│ Attribute networks[0].role value must be one of: ["`ROLE_UNSPECIFIED`"
│ "`ROLE_LISTENERS_AND_TARGETS`" "`ROLE_LISTENERS`" "`ROLE_TARGETS`"], got:
│ "ROLE_LISTENERS_AND_TARGETS"
╵
The named roles for load balancer resources do not pass Terraform validation anymore.
This used to work in
v0.23.0
and is broken inv0.24.0
. Looking at the relevant changes, I'd assume that #455 introduced this bug. Reproduce with:Output: