-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Added support for NAT64 when configuring Router NAT #13522
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
Added support for NAT64 when configuring Router NAT #13522
Conversation
… compute RouterNat; - Added dns64Config field to dns Policy;
|
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: 1208 Click here to see the affected service packages
Action takenFound 22 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. |
|
|
||
| acctest.VcrTest(t, resource.TestCase{ | ||
| PreCheck: func() { acctest.AccTestPreCheck(t) }, | ||
| ProtoV5ProviderFactories: acctest.ProtoV5ProviderBetaFactories(t), |
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.
| ProtoV5ProviderFactories: acctest.ProtoV5ProviderBetaFactories(t), | |
| ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t), |
& remove google-beta from test configs- the implicit google provider will be the beta provider inside these tests. We only use the specific beta factory for example tests so the docs use the beta provider!
- Removed google-beta provider usage in Nat64Config test;
|
@rileykarson This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
|
@GoogleCloudPlatform/terraform-team @rileykarson This PR has been waiting for review for 1 week. Please take a look! Use the label |
|
@GoogleCloudPlatform/terraform-team @rileykarson This PR has been waiting for review for 2 weeks. Please take a look! Use the label |
|
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: 1224 Click here to see the affected service packages
🟢 All tests passed! View the build log |
| type: NestedObject | ||
| default_from_api: true | ||
| description: Configurations related to DNS64 for this Policy. | ||
| properties: |
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.
Should these subfields be required or would it be valid to write dns64_config {}? The configurations below seem like we could start w/ required.
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.
I did some testing and using dns64_config {} causes a permadiff, so I guess we should set it as required.
Setting dns64_config { scope {} } seems to be functional when creating a new resource and when updating existing dns64_config values, so maybe we can keep allQueries as optional?
- Added update test step to TestAccDNSPolicy_dnsPolicyDns64;
|
@rileykarson This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
|
@GoogleCloudPlatform/terraform-team @rileykarson This PR has been waiting for review for 1 week. Please take a look! Use the label |
|
@GoogleCloudPlatform/terraform-team @rileykarson This PR has been waiting for review for 2 weeks. Please take a look! Use the label |
|
@GoogleCloudPlatform/terraform-team @rileykarson This PR has been waiting for review for 3 weeks. Please take a look! Use the label |
|
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: 1247 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
|
|
@GoogleCloudPlatform/terraform-team @rileykarson This PR has been waiting for review for 4 weeks. Please take a look! Use the label |
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!
00ab640
Adds
sourceSubnetworkIpRangesToNat64andnat64Subnetworkfields tocomputeRouterNat, allowing the support for public Router NAT services with NAT64 enabled.Also adds
dns64Configfield todnsPolicy, allowing the configuration of DNS64 server policies, required when using NAT64.Fixes: #22116
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.