-
Notifications
You must be signed in to change notification settings - Fork 368
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
feat(TPG>=5.5)!: support setting maintenance_interval in instance_template #357
feat(TPG>=5.5)!: support setting maintenance_interval in instance_template #357
Conversation
FYI: in some further testing, I'm seeing an error upon updating the field from PERIODIC to null. It is trying to do the update in-place. This maybe a TPG problem or something we could guide with a replacement trigger. |
I filed an issue in TPG: hashicorp/terraform-provider-google#16345 Can you help me understand the integration test failure? It seems unrelated. |
hashicorp/terraform-provider-google#16345 resolves this problem, I believe but requires upgrade to TPG 5.x. Future work to add to this PR. |
4a6f31f
to
b433932
Compare
b433932
to
1756881
Compare
@terraform-google-modules/cft-admins I would appreciate feedback on this PR as it changes to google-beta and bumps to 5.x. I could answer why this might be a support burden. |
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.
Thanks for the contribution @tpdownes!
From the CI:
|
It's unclear to me if CFT believes the correct solution here is to set the project ID at provider level or to explicitly supply subnetwork_project. Not exactly clear why this is showing up as part of this PR as it's not a documented breaking change for TPG 5.0. https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/version_5_upgrade |
Co-authored-by: Andrew Peabody <[email protected]>
@apeabody - can you LGTM this? |
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.
Thanks for the contribution @tpdownes!
Enable setting maintenance_interval in the scheduling block of instance templates. Must use google-beta provider but does not otherwise impact version. This might make it a breaking change from your perspective. I can edit commit and PR title appropriately.