add enable field to packetmirroring resource#16036
add enable field to packetmirroring resource#16036c2thorn merged 3 commits intoGoogleCloudPlatform:mainfrom
Conversation
|
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: For automatic test runs see go/terraform-auto-test-runs. @c2thorn, 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. |
c2thorn
left a comment
There was a problem hiding this comment.
we should test updating the value to false and then true again via an update test: https://googlecloudplatform.github.io/magic-modules/test/test/#add-an-update-test
| description: | | ||
| Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring | ||
| policy will not be enforced on the network. The default is TRUE. | ||
| default_value: "TRUE" |
There was a problem hiding this comment.
for a top-level field like this, I'd prefer to use default_from_api: true instead of default_value to avoid suddenly enabling potentially dormant existing resources
|
@Dawid212, this PR is waiting for action from you. If no action is taken, this PR will be closed in 28 days. Please address any comments or change requests, or re-request review from a core reviewer if no action is required. This notification can be disabled with the |
|
@Dawid212, this PR is waiting for action from you. If no action is taken, this PR will be closed in 14 days. Please address any comments or change requests, or re-request review from a core reviewer if no action is required. This notification can be disabled with the |
c2thorn
left a comment
There was a problem hiding this comment.
Hi @Dawid212, thanks for responding with an update.
I want to clarify that the update test should be a separate multi-step written-out test following these instructions: https://googlecloudplatform.github.io/magic-modules/test/test/#add-an-update-test
You would need to create a new test file in https://github.com/GoogleCloudPlatform/magic-modules/tree/main/mmv1/third_party/terraform/services/compute for the packet mirroring resource
|
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: 1336 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
|
3a90eb9

this pr adds enable field to packet mirroring resource