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 remaining default_route_action
subfields to google_compute_region_url_map
resource
#6676
Add remaining default_route_action
subfields to google_compute_region_url_map
resource
#6676
Conversation
Hello! I am a robot who works on Magic Modules PRs. I've detected that you're a community contributor. @slevenick, a repository maintainer, has been assigned to assist you and help review your changes. ❓ First time contributing? Click here for more detailsYour assigned reviewer will help review your code by:
You can help make sure that review is quick by running local tests and ensuring they're passing in between each push you make to your PR's branch. Also, try to leave a comment with each push you make, as pushes generally don't generate emails. If your reviewer doesn't get back to you within a week after your most recent change, please feel free to leave a comment on the issue asking them to take a look! In the absence of a dedicated review dashboard most maintainers manage their pending reviews through email, and those will sometimes get lost in their inbox. |
This PR is still in draft, and would ideally be rebased after this PR (#6674) gets merged first Removing reviewers while this is in draft |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 3 files changed, 3277 insertions(+), 1115 deletions(-)) |
Tests analyticsTotal tests: Action takenTriggering VCR tests in RECORDING mode for the tests that failed during VCR. Click here to see the failed testsTestAccComputeRegionUrlMap_regionUrlMapDefaultRouteActionExample|TestAccComputeInstance_soleTenantNodeAffinities|TestAccCGCSnippet_eventarcWorkflowsExample |
Tests passed during RECORDING mode: Tests failed during RECORDING mode: Please fix these to complete your PR |
…on_url_map` resource, update generated test
1f721fa
to
282cd80
Compare
Just rebased this PR, following the first PR being updated (since this PR was opened) and being merged into main |
Hello! I am a robot who works on Magic Modules PRs. I've detected that you're a community contributor. @rileykarson, a repository maintainer, has been assigned to assist you and help review your changes. ❓ First time contributing? Click here for more detailsYour assigned reviewer will help review your code by:
You can help make sure that review is quick by running local tests and ensuring they're passing in between each push you make to your PR's branch. Also, try to leave a comment with each push you make, as pushes generally don't generate emails. If your reviewer doesn't get back to you within a week after your most recent change, please feel free to leave a comment on the issue asking them to take a look! In the absence of a dedicated review dashboard most maintainers manage their pending reviews through email, and those will sometimes get lost in their inbox. |
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. Terraform GA: Diff ( 3 files changed, 1031 insertions(+), 46 deletions(-)) |
Tests analyticsTotal tests: Action takenTriggering VCR tests in RECORDING mode for the tests that failed during VCR. Click here to see the failed testsTestAccFirebaserulesRelease_BasicRelease|TestAccComputeRegionUrlMap_regionUrlMapDefaultRouteActionExample|TestAccComputeForwardingRule_update|TestAccComputeGlobalForwardingRule_labels |
Tests passed during RECORDING mode: All tests passed |
This is still in draft, just confirming you want a review pass done now? I see it was used to mark it wasn't ready for review above, but the criteria to move forward appears to have been met. Also, you can remove automatic assignment for yourself by adding your username to the list on
|
Hi, sorry no I don't want a review now - the PR needs some edits so I left it in draft and forgot to remove the auto-assigned reviewer. I'll add myself to that list, thank you! |
Hello! I am a robot who works on Magic Modules PRs. I've detected that you're a community contributor. @ScottSuarez, a repository maintainer, has been assigned to assist you and help review your changes. ❓ First time contributing? Click here for more detailsYour assigned reviewer will help review your code by:
You can help make sure that review is quick by running local tests and ensuring they're passing in between each push you make to your PR's branch. Also, try to leave a comment with each push you make, as pushes generally don't generate emails. If your reviewer doesn't get back to you within a week after your most recent change, please feel free to leave a comment on the issue asking them to take a look! In the absence of a dedicated review dashboard most maintainers manage their pending reviews through email, and those will sometimes get lost in their inbox. |
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. Terraform GA: Diff ( 3 files changed, 1055 insertions(+), 46 deletions(-)) |
Tests analyticsTotal tests: Action takenTriggering VCR tests in RECORDING mode for the tests that failed during VCR. Click here to see the failed testsTestAccComputeGlobalForwardingRule_labels|TestAccComputeForwardingRule_update |
Hello! I am a robot who works on Magic Modules PRs. I've detected that you're a community contributor. @ScottSuarez, a repository maintainer, has been assigned to assist you and help review your changes. ❓ First time contributing? Click here for more detailsYour assigned reviewer will help review your code by:
You can help make sure that review is quick by running local tests and ensuring they're passing in between each push you make to your PR's branch. Also, try to leave a comment with each push you make, as pushes generally don't generate emails. If your reviewer doesn't get back to you within a week after your most recent change, please feel free to leave a comment on the issue asking them to take a look! In the absence of a dedicated review dashboard most maintainers manage their pending reviews through email, and those will sometimes get lost in their inbox. |
Updated the handwritten test with the new fields, but excluded
|
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. Terraform GA: Diff ( 4 files changed, 1098 insertions(+), 46 deletions(-)) |
Tests analyticsTotal tests: Action takenTriggering VCR tests in RECORDING mode for the tests that failed during VCR. Click here to see the failed testsTestAccComputeRegionUrlMap_defaultRouteAction_full_update |
I think this PR is ready for review now - I've made the new field match the global version of the resource (linked in PR description) and the test has been updated. The test omits one field as it requires a specific load balancer config (see here). |
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.
A few configuration asks and one test fix ask.
host_rewrite = "A replacement header" | ||
path_prefix_rewrite = "A replacement path" |
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 worry about server side validation breaking this in the future since they aren't valid hosts/prefixes.
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.
Yeah that's a fair worry! I've replaced these values in 7613ca4
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. Terraform GA: Diff ( 7 files changed, 1121 insertions(+), 68 deletions(-)) |
Tests analyticsTotal tests: Action takenTriggering VCR tests in RECORDING mode for the tests that failed during VCR. Click here to see the failed testsTestAccFirebaserulesRelease_BasicRelease|TestAccComputeUrlMap_trafficDirectorPathUpdate|TestAccComputeUrlMap_defaultRouteActionTrafficDirectorPathUpdate|TestAccComputeUrlMap_defaultRouteActionTrafficDirectorUpdate|TestAccComputeUrlMap_urlMapTrafficDirectorPathExample|TestAccComputeRegionUrlMap_ilbPathUpdate|TestAccComputeRegionUrlMap_regionUrlMapL7IlbPathPartialExample|TestAccComputeRegionUrlMap_regionUrlMapL7IlbPathExample|TestAccComputeRegionUrlMap_regionUrlMapDefaultRouteActionExample |
Tests passed during RECORDING mode: All tests passed |
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.
Small test modification request but approved otherwise.
path_prefix_rewrite = "foobar-2" | ||
host_rewrite = "fizzbuzz-2" |
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.
Similar comment regarding prefix and host rewrites
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! I've updated all the instances of these fields across all the url map resources' tests. As the tests have passed I'll go ahead and merge.
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. Terraform GA: Diff ( 7 files changed, 1137 insertions(+), 84 deletions(-)) |
Tests analyticsTotal tests: Action takenTriggering VCR tests in RECORDING mode for the tests that failed during VCR. Click here to see the failed testsTestAccComputeUrlMap_trafficDirectorPathUpdate|TestAccComputeUrlMap_defaultRouteActionUrlRewrite|TestAccComputeUrlMap_defaultRouteActionTrafficDirectorUpdate|TestAccComputeUrlMap_defaultRouteActionPathUrlRewrite|TestAccComputeUrlMap_defaultRouteActionTrafficDirectorPathUpdate|TestAccComputeRegionUrlMap_defaultRouteAction_full_update|TestAccComputeRegionUrlMap_ilbPathUpdate |
Tests passed during RECORDING mode: All tests passed |
…ion_url_map` resource (GoogleCloudPlatform#6676) * Add `defaultRouteAction.urlRewrite` to `google_compute_region_url_map` resource * Add `defaultRouteAction.corsPolicy` to `google_compute_region_url_map` resource * Add `cors_policy` to acceptance test * Add `defaultRouteAction.faultInjectionPolicy` to `google_compute_region_url_map` resource, update generated test * Fix bug where `defaultRouteAction.timeout` was incorrectly nested * Fix misspelled field in acceptance test * Add `at_least_one_of` logic present in the global version of UrlMap resource * Update `defaultRouteAction` test to include `timeout` field * Update `defaultRouteAction` test to include `url_rewrite` field * Update `defaultRouteAction` test to include `cors_policy` field (excluding regex subfield) * Add missing `at_least_one_of` entries inside the `defaultRouteAction` property * Update values used for `url_rewrite` in Url Map tests and examples * Update values of `host_rewrite` and `path_prefix_rewrite` in acc tests
…ion_url_map` resource (GoogleCloudPlatform#6676) * Add `defaultRouteAction.urlRewrite` to `google_compute_region_url_map` resource * Add `defaultRouteAction.corsPolicy` to `google_compute_region_url_map` resource * Add `cors_policy` to acceptance test * Add `defaultRouteAction.faultInjectionPolicy` to `google_compute_region_url_map` resource, update generated test * Fix bug where `defaultRouteAction.timeout` was incorrectly nested * Fix misspelled field in acceptance test * Add `at_least_one_of` logic present in the global version of UrlMap resource * Update `defaultRouteAction` test to include `timeout` field * Update `defaultRouteAction` test to include `url_rewrite` field * Update `defaultRouteAction` test to include `cors_policy` field (excluding regex subfield) * Add missing `at_least_one_of` entries inside the `defaultRouteAction` property * Update values used for `url_rewrite` in Url Map tests and examples * Update values of `host_rewrite` and `path_prefix_rewrite` in acc tests
…ion_url_map` resource (GoogleCloudPlatform#6676) * Add `defaultRouteAction.urlRewrite` to `google_compute_region_url_map` resource * Add `defaultRouteAction.corsPolicy` to `google_compute_region_url_map` resource * Add `cors_policy` to acceptance test * Add `defaultRouteAction.faultInjectionPolicy` to `google_compute_region_url_map` resource, update generated test * Fix bug where `defaultRouteAction.timeout` was incorrectly nested * Fix misspelled field in acceptance test * Add `at_least_one_of` logic present in the global version of UrlMap resource * Update `defaultRouteAction` test to include `timeout` field * Update `defaultRouteAction` test to include `url_rewrite` field * Update `defaultRouteAction` test to include `cors_policy` field (excluding regex subfield) * Add missing `at_least_one_of` entries inside the `defaultRouteAction` property * Update values used for `url_rewrite` in Url Map tests and examples * Update values of `host_rewrite` and `path_prefix_rewrite` in acc tests
…ion_url_map` resource (GoogleCloudPlatform#6676) * Add `defaultRouteAction.urlRewrite` to `google_compute_region_url_map` resource * Add `defaultRouteAction.corsPolicy` to `google_compute_region_url_map` resource * Add `cors_policy` to acceptance test * Add `defaultRouteAction.faultInjectionPolicy` to `google_compute_region_url_map` resource, update generated test * Fix bug where `defaultRouteAction.timeout` was incorrectly nested * Fix misspelled field in acceptance test * Add `at_least_one_of` logic present in the global version of UrlMap resource * Update `defaultRouteAction` test to include `timeout` field * Update `defaultRouteAction` test to include `url_rewrite` field * Update `defaultRouteAction` test to include `cors_policy` field (excluding regex subfield) * Add missing `at_least_one_of` entries inside the `defaultRouteAction` property * Update values used for `url_rewrite` in Url Map tests and examples * Update values of `host_rewrite` and `path_prefix_rewrite` in acc tests
This PR adds the remaining
defaultRouteAction.*
fields that aren't in the first PR (#6674)The new fields:
NOTE: This PR (and previous PR) do not implement the defaultRouteAction.maxStreamDuration field, because this is currently missing from the global url map resource. I'm aiming to get parity between the two url map resources, not necessarily 100% coverage of this field.
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)