Based on the spec _clustertype should be one of [ CLUSTER_TYPE_CONTROL_PLANE, CLUSTER_TYPE_K8S_INGRESS_CONTROLLER, CLUSTER_TYPE_CONTROL_PLANE_GROUP ].
The provider output below error when CLUSTER_TYPE_CONTROL_PLANE is used.
│ Error: Invalid Attribute Value Match
│
│ with konnect_gateway_control_plane.tf-test-cp,
│ on gateway-manager.tf line 17, in resource "konnect_gateway_control_plane" "tf-test-cp":
│ 17: cluster_type = "CLUSTER_TYPE_CONTROL_PLANE"
│
│ Attribute cluster_type value must be one of: ["\"CLUSTER_TYPE_HYBRID\"" "\"CLUSTER_TYPE_K8S_INGRESS_CONTROLLER\""
│ "\"CLUSTER_TYPE_CONTROL_PLANE_GROUP\""], got: "CLUSTER_TYPE_CONTROL_PLANE"
Based on the spec _clustertype should be one of
[ CLUSTER_TYPE_CONTROL_PLANE, CLUSTER_TYPE_K8S_INGRESS_CONTROLLER, CLUSTER_TYPE_CONTROL_PLANE_GROUP ]
.The provider output below error when
CLUSTER_TYPE_CONTROL_PLANE
is used.This could be related to https://github.com/Kong/terraform-provider-konnect/blob/main/internal/provider/gatewaycontrolplane_resource.go#L83-L89