-
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
Migrate Network Firewall Policy Rule (global and region) from DCL to MMv1 #11368
Migrate Network Firewall Policy Rule (global and region) from DCL to MMv1 #11368
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @ScottSuarez, 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.
Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_compute_network_firewall_policy_rule" "primary" {
target_resources = # value needed
target_secure_tags {
name = # value needed
}
tls_inspect = # value needed
}
Resource: resource "google_compute_region_network_firewall_policy_rule" "primary" {
match {
dest_address_groups = # value needed
dest_fqdns = # value needed
dest_ip_ranges = # value needed
dest_region_codes = # value needed
dest_threat_intelligences = # value needed
layer4_configs {
ports = # value needed
}
}
security_profile_group = # value needed
target_resources = # value needed
target_secure_tags {
name = # value needed
}
tls_inspect = # value needed
}
|
Tests analyticsTotal tests: 979 Click here to see the affected service packages
Action takenFound 6 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
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.
Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_compute_network_firewall_policy_rule" "primary" {
target_resources = # value needed
target_secure_tags {
name = # value needed
}
tls_inspect = # value needed
}
Resource: resource "google_compute_region_network_firewall_policy_rule" "primary" {
match {
dest_address_groups = # value needed
dest_fqdns = # value needed
dest_ip_ranges = # value needed
dest_region_codes = # value needed
dest_threat_intelligences = # value needed
layer4_configs {
ports = # value needed
}
}
security_profile_group = # value needed
target_resources = # value needed
target_secure_tags {
name = # value needed
}
tls_inspect = # value needed
}
|
Tests analyticsTotal tests: 980 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
|
|
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.
Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_compute_network_firewall_policy_rule" "primary" {
target_resources = # value needed
target_secure_tags {
name = # value needed
}
tls_inspect = # value needed
}
Resource: resource "google_compute_region_network_firewall_policy_rule" "primary" {
match {
dest_address_groups = # value needed
dest_fqdns = # value needed
dest_ip_ranges = # value needed
dest_region_codes = # value needed
dest_threat_intelligences = # value needed
layer4_configs {
ports = # value needed
}
}
security_profile_group = # value needed
target_resources = # value needed
target_secure_tags {
name = # value needed
}
tls_inspect = # value needed
}
|
Tests analyticsTotal tests: 981 Click here to see the affected service packages
View the build log |
@slevenick @trodge This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
This looks to me like you're on the right track, but I'd like us to improve the test coverage to make sure the migration works as expected. All of the detected breaking changes will need to be addressed by adding support for emulating the DCL behaviors in MMv1, usually through Here are some examples of PRs showing how that process can work: |
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.
See #11368 (comment) and #11368 (comment)
Hello @trodge , I just saw both your comments. |
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🟢 All tests passed! |
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.
Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_compute_region_network_firewall_policy_rule" "primary" {
security_profile_group = # value needed
}
|
Tests analyticsTotal tests: 1032 Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
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.
Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_compute_region_network_firewall_policy_rule" "primary" {
security_profile_group = # value needed
}
|
Tests analyticsTotal tests: 1032 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
@slevenick @trodge This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
…MMv1 (GoogleCloudPlatform#11368) Co-authored-by: Thomas Rodgers <[email protected]>
…MMv1 (GoogleCloudPlatform#11368) Co-authored-by: Thomas Rodgers <[email protected]>
…MMv1 (GoogleCloudPlatform#11368) Co-authored-by: Thomas Rodgers <[email protected]>
…MMv1 (GoogleCloudPlatform#11368) Co-authored-by: Thomas Rodgers <[email protected]>
…MMv1 (GoogleCloudPlatform#11368) Co-authored-by: Thomas Rodgers <[email protected]>
…MMv1 (GoogleCloudPlatform#11368) Co-authored-by: Thomas Rodgers <[email protected]>
…MMv1 (GoogleCloudPlatform#11368) Co-authored-by: Thomas Rodgers <[email protected]>
Hello folks.
This PR is to move two Network Firewall Policy Rule resources (global and region) from DCL to MMv1.
google_compute_network_firewall_policy_rule
google_compute_region_network_firewall_policy_rule
And this PR includes:
Note: This PR doesn't include the actual deletion of the DCL resource.
Related to hashicorp/terraform-provider-google#18134
Release Note Template for Downstream PRs (will be copied)