-
Notifications
You must be signed in to change notification settings - Fork 91
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
Upgrade path for Kong provider #144
Comments
hey @sec23206, I'm afraid there is no documentation for how to do this. In general I'm afraid to say that this is going to be quite painful. The main reason being is that in version 5.2.1 plugins and plugin config was all managed using single terraform resources but in the latest version of terraform it is managed using strongly typed plugins for example to configure the jwt plugin you now use the If you aren't doing too much plugin configuration and all of the plugins that you are using are supported by the new provider version then probably the easiest way to upgrade would be to remove the old config from state e.g. |
Thanks for the feedback (and sorry for not responding sooner). This can be closed. |
Hi @kevholditch-f3,
Unfortunately, terraform reports that the import feature is unsupported. If not, I assume I could get away with just applying the "new" resource which will essentially make no change. Thanks! |
Hi @kevholditch-f3, any updates? |
@rs-steve-stevens I've created this MR for making the kong_consumer_key_auth resource importable: |
Fantastic! I'll give it a try shortly! |
For general usage questions, please see: https://www.terraform.io/community.html.
I looked in the Terraform community forums but it doesn't appear that the Kong provider is discussed there. So apologies for posing a question here when I really shouldn't ...
Is there a recommended upgrade path/process to get from an older version of the provider to the most current? In our case, we're still using v5.2.1 with Terraform v0.12.6, and want to eliminate that "technical debt". The Terraform documentation describes what changes you need to account for when upgrading to each major version, but is there anything similar for the Kong provider?
Thanks in advance.
The text was updated successfully, but these errors were encountered: