terraform-provider-kong icon indicating copy to clipboard operation
terraform-provider-kong copied to clipboard

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

Open ammartins opened this issue 5 years ago • 1 comments

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.

ammartins avatar Feb 20 '20 09:02 ammartins