Open ammartins opened 4 years ago
Bug Kong_plugin
When removing a config_json from the resource terraform plan does not show any changes.
Before: resource "kong_plugin" "tokenhelper_salesforce" { name = "tokenhelper" route_id = "${kong_route.salesforce.id}" config_json = <<EOT { "path_prefix": "${local.path_prefix}" } EOT }
resource "kong_plugin" "tokenhelper_salesforce" { name = "tokenhelper" route_id = "${kong_route.salesforce.id}" config_json = <<EOT { "path_prefix": "${local.path_prefix}" } EOT }
After resource "kong_plugin" "tokenhelper_salesforce" { name = "tokenhelper" route_id = "${kong_route.salesforce.id}" }
resource "kong_plugin" "tokenhelper_salesforce" { name = "tokenhelper" route_id = "${kong_route.salesforce.id}" }
Terraform Version 0.11 - Kong Provider Version: "5.0.0"
After terraform plan I get: Plan: 0 to add, 0 to change, 0 to destroy.
I've got the same issue. I'm trying to change the rate limiting plugin, but the only way i can get this to change is to recreate the plugin. Is there a workaround to get it to detect the change?
Bug Kong_plugin
When removing a config_json from the resource terraform plan does not show any changes.
Before:
resource "kong_plugin" "tokenhelper_salesforce" { name = "tokenhelper" route_id = "${kong_route.salesforce.id}" config_json = <<EOT { "path_prefix": "${local.path_prefix}" } EOT }
After
resource "kong_plugin" "tokenhelper_salesforce" { name = "tokenhelper" route_id = "${kong_route.salesforce.id}" }
Terraform Version 0.11 - Kong Provider Version: "5.0.0"
After terraform plan I get: Plan: 0 to add, 0 to change, 0 to destroy.