Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ammartins opened this issue Feb 20, 2020 · 1 comment

Comments

@ammartins
Copy link

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants