-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add Terraform support for antivirus threat override #13444
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 Terraform support for antivirus threat override #13444
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. @melinath, 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. |
Hello @melinath could you run tests and check if everything is ok with the PR, please? |
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: 62 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
|
🟢 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. |
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.
Error:
resource_network_security_security_profile_test.go:53: Step 3/4 error: Error running pre-apply refresh: exit status 1
Error: Missing required argument
on terraform_plugin_test.tf line 14, in resource "google_network_security_security_profile" "foobar":
14: antivirus_overrides {
The argument "protocol" is required, but no definition was found.
Error: Unsupported argument
on terraform_plugin_test.tf line 16, in resource "google_network_security_security_profile" "foobar":
16: severity = "FTP"
An argument named "severity" is not expected here.
Error: Missing required argument
on terraform_plugin_test.tf line 19, in resource "google_network_security_security_profile" "foobar":
19: antivirus_overrides {
The argument "protocol" is required, but no definition was found.
Error: Unsupported argument
on terraform_plugin_test.tf line 21, in resource "google_network_security_security_profile" "foobar":
21: severity = "HTTP"
An argument named "severity" is not expected here.
Error: Missing required argument
on terraform_plugin_test.tf line 24, in resource "google_network_security_security_profile" "foobar":
24: antivirus_overrides {
The argument "protocol" is required, but no definition was found.
Error: Unsupported argument
on terraform_plugin_test.tf line 26, in resource "google_network_security_security_profile" "foobar":
26: severity = "HTTP2"
An argument named "severity" is not expected here.
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: 62 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
|
Hello @melinath checks seem to be ok, do you think this is ready to merge? |
...y/terraform/services/networksecurity/resource_network_security_security_profile_test.go.tmpl
Show resolved
Hide resolved
...y/terraform/services/networksecurity/resource_network_security_security_profile_test.go.tmpl
Show resolved
Hide resolved
...y/terraform/services/networksecurity/resource_network_security_security_profile_test.go.tmpl
Outdated
Show resolved
Hide resolved
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: 0 Click here to see the affected service packages
🔴 Tests were added that are skipped in VCR:
View the build log |
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: 62 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
|
59ca2c3
Hello @melinath, I just saw your suggestions. Thanks for the feedback and commit. I will take them into account for next PRs. |
…orm#13444) Co-authored-by: Stephen Lewis (Burrows) <[email protected]>
…orm#13444) Co-authored-by: Stephen Lewis (Burrows) <[email protected]>
Release Note Template for Downstream PRs (will be copied)