-
Notifications
You must be signed in to change notification settings - Fork 54
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
Upgrading via terraform provider fails if microservice version was unset on installation #2887
Comments
Hey @heilerich, thanks a lot for noticing and informing us about this! While the change was marked as breaking in the changelog, we did not add the necessary migration steps. This has now been corrected. For future releases, migrations for breaking changes in the Terraform configuration will be automated. Furthermore, we are introducing CI to check exactly these cases with the Terraform provider. Let me know if I can assist with anything else. |
Thanks for the quick reply. We already successfully upgraded our deployment, so this is not an issue for us anymore. I think documenting this is in the changelog and possibly the upgrade docs is the right step, but I would like to point out that I think the current note in the changelog is still confusing :-) The phrase "in your Terraform configuration" seems to imply that you only have to update your declarations in your |
Hey @heilerich - thanks for reminding me! I think I understood you correctly here. If you change the provider version to Thanks a lot for the heads-up here! 😃 |
Ah, I wish that I thought of that solution earlier today instead of messing with the state manually. Would have saved me some time and headaches :-) The new note seems clear enough to me. |
Issue description
When installing constellation using the new terraform provider <2.15.0 it was possible to leave the
constellation_microservice_version
unset using a default value matching the provider version. This was changed in #2791. When attempting to upgrade to v2.15.0 the terraform provider will fail with the error messageParsing microservice version: invalid semver: v
because it is trying to parse thenull
value from TF state auto-prefixed withv
by theinternal/semver.New
.Steps to reproduce the behavior
constellation_microservice_version
in TF state.Parsing microservice version: invalid semver: v
Version
v2.15.0
Constellation Config
No response
The text was updated successfully, but these errors were encountered: