kevholditch / terraform-provider-kong

kong provider for terraform
MIT License
179 stars 91 forks source link

When removing config_json from a kong_plugin resource Terraform does not catches the change and says nothing is Changing #99

Open ammartins opened 4 years ago

ammartins commented 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 }

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.

cameronjmillard commented 1 week ago

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?