-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Stateful MIG -> GA #4047
Stateful MIG -> GA #4047
Conversation
Hello! I am a robot who works on Magic Modules PRs. I have detected that you are a community contributor, so your PR will be assigned to someone with a commit-bit on this repo for initial review. Thanks for your contribution! A human will be with you soon. @rileykarson, please review this PR or find an appropriate assignee. |
I have triggered VCR tests based on this PR's diffs. See the results here: "https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=150035" |
I have triggered VCR tests based on this PR's diffs. See the results here: "https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=150037" |
@rileykarson I didn't have a reviewer in mind; I can definitely reassign it if you prefer! I'll make a separate PR to remove myself from that list. :-) |
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.
Generally looks good- using a test run to double check, since VCR failed (due to unrelated reasons).
Just one small thing- you'll want to update the documentation for Instance Group Manager + the regional variant so that fields aren't unnecessarily marked as beta. See https://www.terraform.io/docs/providers/google/r/compute_instance_group_manager.html#stateful_disk for example.
I'd refer to specific resources (for newly GA resources) or fields in the changelog message as well, instead of the feature as whole. You can attach multiple messages to a single PR by specifying the release-note
block multiple times, if that helps. For example, a recent field in GKE was noted as container: marked workload_metadata_config as GA in google_container_node_pool
Thanks! LMK if you have any more feedback. |
I have triggered VCR tests based on this PR's diffs. See the results here: "https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=150083" |
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.
LGTM!
Just a couple small notes on the release notes. You'll want to break the release note up from one note with multiple lines to multiple notes with one line each (this will format the final changelog a little better), a la:
compute: Marked `stateful_disk` as GA in `instance_group_manager`
compute: Marked `stateful_disk` as GA in `region_instance_group_manager`
compute: Marked `per_instance_config` as GA
compute: Marked `region_per_instance_config` as GA
When referring to resource names, I'd use the full name of the resource as well. For these resources, that's including the google_compute_
prefix, eg
compute: Marked `stateful_disk` as GA in `google_compute_instance_group_manager`
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccProviderMeta_setModuleName|TestAccComputeSnapshot_encryptionCMEK|TestAccMonitoringDashboard_gridLayout|TestAccMonitoringDashboard_basic|TestAccMonitoringDashboard_rowLayout|TestAccMonitoringDashboard_update You can view the result here: "https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=150090" |
@rileykarson I've updated the release notes section; thanks! It looks like the next step is that you would run the magician to generate downstream PRs and then, if those are approved, all the PRs get merged. Is that correct? |
Ah- there may be a guide we need to update somewhere. The Magician generates diffs downstream (#4047 (comment) for example) but doesn't create pull requests until post-merge these days. Approval on the MM pr is enough (a practice we ended up adopting even when there were downstream PRs). Once you've merged this PR, the Magician will asynchronously create and automatically merge PRs against each repo that had a diff in the diff comment. |
Fixes hashicorp/terraform-provider-google#7323.
Stateful MIG is controlled with PerInstanceConfig and RegionPerInstanceConfig. This PR makes those both available in GA as well as related utilities and tests.
If this PR is for Terraform, I acknowledge that I have:
make test
andmake lint
to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)