-
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
Upgrade from Protocol 5 to 6 #637
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good.
Need to update the providersdkv2 tests to use V6 Protos. This should also include manual migration testing as per the migration guide for TF Mux/TF Framework.
Need to update documentation to reflect changes to minimum terraform version.
We should also release a preemptive version with a deprecation notice to indicate that older terraform versions will no longer be supported in a few weeks time. Not sure if there is a way for us to detect old tf versions and output a warning, or if we'll just have to depreciate via changelog notice.
@aidan-mundy Thanks for the review!
Done! I am running https://github.com/hashicorp/terraform-provider-hcp/actions/runs/6540633820 to conduct the integration tests.
Sure thing! #638 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks for doing this. It was on our list after implementing the muxer. I think just running the acceptance test workflow in the CI would be helpful as well. And I think as @aidan-mundy mentioned some manual migration tests if we wanna be thorough. I believe I did one per product on the initial muxer changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updates look great! For the manual migration testing, I'd check with @AnPucel for some help on the best way to do it.
LGTM (in around 2 weeks haha)
thanks for the changes. |
Manually tested the migration: https://gist.github.com/dadgar/7b4d5393d6453701b82fe72ac802102f |
🛠️ Description
Upgrade from Protocol 5 to 6. I was going to add a nested block and noticed the documentation recommends against it and instead to use nested attribute types which are only available on protocol 6.
https://developer.hashicorp.com/terraform/plugin/framework/handling-data/blocks/single-nested
🏗️ Acceptance tests