-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add fields to support for configuring Class ALB migration feature. #13926
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
Add fields to support for configuring Class ALB migration feature. #13926
Conversation
|
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: see go/terraform-auto-test-runs to set up automatic test runs. @rileykarson, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 1189 Click here to see the affected service packages
Action takenFound 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
…oad balancing scheme is mutable.
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 1189 Click here to see the affected service packages
Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
rileykarson
left a comment
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- just a few comments on tests.
mmv1/third_party/terraform/services/compute/resource_compute_backend_service_test.go.tmpl
Show resolved
Hide resolved
| }, | ||
| { | ||
| Config: testAccComputeBackendService_withLogConfig3(serviceName, checkName, "INCLUDE_ALL_OPTIONAL", true), | ||
| Config: testAccComputeBackendService_withLogConfig3(serviceName2, checkName2, "INCLUDE_ALL_OPTIONAL", true), |
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.
Same as above- let's break the different loadBalancingSchemes into separate test cases.
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.
Done.
mmv1/third_party/terraform/services/compute/resource_compute_backend_service_test.go.tmpl
Show resolved
Hide resolved
| Config: testAccComputeBackendService_withCanaryMigration( | ||
| serviceName, checkName, "updated-to-prepare", "PREPARE"), |
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.
| Config: testAccComputeBackendService_withCanaryMigration( | |
| serviceName, checkName, "updated-to-prepare", "PREPARE"), | |
| Config: testAccComputeBackendService_withCanaryMigration( serviceName, checkName, "updated-to-prepare", "PREPARE"), | |
| ConfigPlanChecks: resource.ConfigPlanChecks{ | |
| PreApply: []plancheck.PlanCheck{ | |
| plancheck.ExpectResourceAction("google_compute_backend_service.foobar", plancheck.ResourceActionUpdate), | |
| }, | |
| }, |
This is optional, but you could add the following to each Config step after the first to ensure that we update the resource rather than recreate it. We need to do that automatically in the future!
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.
Done
mmv1/third_party/terraform/services/compute/resource_compute_backend_service_test.go.tmpl
Show resolved
Hide resolved
.../third_party/terraform/services/compute/resource_compute_global_forwarding_rule_test.go.tmpl
Outdated
Show resolved
Hide resolved
.../third_party/terraform/services/compute/resource_compute_global_forwarding_rule_test.go.tmpl
Show resolved
Hide resolved
.../third_party/terraform/services/compute/resource_compute_global_forwarding_rule_test.go.tmpl
Outdated
Show resolved
Hide resolved
Apply suggestions from code review Co-authored-by: Riley Karson <[email protected]>
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 1192 Click here to see the affected service packages
Action takenFound 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
1 similar comment
Tests analyticsTotal tests: 1192 Click here to see the affected service packages
Action takenFound 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🟢 All tests passed! |
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🟢 All tests passed! |
rileykarson
left a comment
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, thanks!
mmv1/third_party/terraform/services/compute/resource_compute_backend_service_test.go.tmpl
Show resolved
Hide resolved
mmv1/third_party/terraform/services/compute/resource_compute_backend_service_test.go.tmpl
Show resolved
Hide resolved
rileykarson
left a comment
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, thanks!
c709083
…oogleCloudPlatform#13926) Co-authored-by: Riley Karson <[email protected]>
…oogleCloudPlatform#13926) Co-authored-by: Riley Karson <[email protected]>
…oogleCloudPlatform#13926) Co-authored-by: Riley Karson <[email protected]>
…oogleCloudPlatform#13926) Co-authored-by: Riley Karson <[email protected]>
…oogleCloudPlatform#13926) Co-authored-by: Riley Karson <[email protected]>
Add Terraform support for configuring Classic ALB migration feature. The support is added for the global backend-service and global forwarding rule. This feature allows gradual and controlled migration to the External Managed LB from Classic LB. The global forwarding rule config changes applies to all the backend bucket attached to the forwarding rule.
Fixes: hashicorp/terraform-provider-google#22760
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.