adding user_ip_request_headers support to compute_security_policy#8267
Conversation
|
Hello! I am a robot who works on Magic Modules PRs. I've detected that you're a community contributor. @megan07, 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 ( 2 files changed, 3 insertions(+)) |
Tests analyticsTotal tests: 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 testsTestAccComputeSecurityPolicy_withAdvancedOptionsConfig |
|
Rerun these tests in REPLAYING mode to catch issues$\textcolor{green}{\textsf{All tests passed!}} |
|
👋 Thanks for your PR! The test that ran above uses the GA version of the provider, not Beta, but when I ran the acceptance test manually I can see that the new field behaves well. I'm just checking internally about any gotchas around the schema.Set field type, and will resume reviewing once I've got some feedback. |
|
Hi @SarahFrench is there anything else from my side? Thanks |
|
Nope - I got the feedback I mentioned and I'm going to approve this in a bit. Thanks for your patience! |
SarahFrench
left a comment
There was a problem hiding this comment.
When I run the Beta version of the acceptance test including the new field everything passes. I can see that ordering of the field isn't important, and there isn't any trouble when re-ordering. I remembered there was an issue with Sets but not what - it's that schema.Set has trouble with Computed values. As that's not relevant here I'm happy to approve.
|
@felipegc Sorry, my delay allowed the merge conflict above to happen. I'll keep an eye on this PR and will merge it once I see it's resolved. |
I updated my branch with the upstream/main and got no conflict to solve manually. But when I ran the provider beta with my test and other test from the same file I got a message saying: “no tests to run”. Is there anything changed recently to run the acc tests locally? Thanks |
Yes - that file ( |
|
If the tests are moved to the specific service packages, the command to run the tests needs to change. For example: |
|
Thanks @SarahFrench and @zli82016. I managed to successfully run locally with the explanation. |
SarahFrench
left a comment
There was a problem hiding this comment.
Re-approving after merge conflict resolved - sorry for the confusion!
fixes hashicorp/terraform-provider-google#15048
Adding user_ip_request_headers support to compute_security_policy
If this PR is for Terraform, I acknowledge that I have:
make testandmake lintin the generated providers to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)