Open
Description
Currently, kong2tf generates the expresssion
attribute if it is present in the kong configuration file, but Terraform fails to apply because it is currently not supported.
│ Error: Unsupported argument
│
│ on kevin-test-deck_merged.tf line 252, in resource "konnect_gateway_route" "capiexp-api-coxautoinc-com-widgets-__2":
│ 252: expression = "(lower(http.path) == \"/.widgets._-2\" || lower(http.path) ^= \"/.widgets._-2/\") && lower(http.host) == \"capiexp.api.coxautoinc.com\""
│
│ An argument named "expression" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on kevin-test-deck_merged.tf line 255, in resource "konnect_gateway_route" "capiexp-api-coxautoinc-com-widgets-__2":
│ 255: priority = 0
│
│ An argument named "priority" is not expected here.
Expressions are supported in Konnect, but apparently not yet in the API as fas as can be seen in https://docs.konghq.com/konnect/api/control-plane-configuration/latest/#/Routes/create-route.
Metadata
Assignees
Labels
No labels
Activity