Skip to content

Conversation

@Dawid212
Copy link
Contributor

this pr adds enable field to packet mirroring resource

compute: add `enable` field to `google_compute_packet_mirroring`

@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Dec 28, 2025
@github-actions github-actions bot requested a review from c2thorn December 28, 2025 23:22
@github-actions
Copy link

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.

Copy link
Member

@c2thorn c2thorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-approval Pull requests that need reviewer's approval to run presubmit tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants