-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
azurerm_network_packet_capture
- support for the target_type
and scope
properties
#19385
azurerm_network_packet_capture
- support for the target_type
and scope
properties
#19385
Conversation
internal/services/network/network_packet_capture_resource_test.go
Outdated
Show resolved
Hide resolved
internal/services/network/network_packet_capture_resource_test.go
Outdated
Show resolved
Hide resolved
internal/services/network/network_packet_capture_resource_test.go
Outdated
Show resolved
Hide resolved
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.
This requires some rework as outlined in #19385 (comment)
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.
Appreciate you splitting this out into separate resources and deprecating the old one @neil-yechenwei. This is off to a good start, there are improvements to be made to the schema though, in addition these also need to be typed resources, since they will need to be in the future anyway.
internal/services/network/virtual_machine_packet_capture_resource.go
Outdated
Show resolved
Hide resolved
internal/services/network/virtual_machine_packet_capture_resource_test.go
Outdated
Show resolved
Hide resolved
internal/services/network/virtual_machine_scale_set_packet_capture_resource.go
Outdated
Show resolved
Hide resolved
internal/services/network/virtual_machine_packet_capture_resource.go
Outdated
Show resolved
Hide resolved
website/docs/r/virtual_machine_scale_set_packet_capture.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/virtual_machine_scale_set_packet_capture.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/virtual_machine_scale_set_packet_capture.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/virtual_machine_scale_set_packet_capture.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/virtual_machine_scale_set_packet_capture.html.markdown
Outdated
Show resolved
Hide resolved
Thanks for the comment. I've fixed the historical problems you mentioned. Then I will convert this untyped resource to typed resource. |
@stephybun , as converting untyped resource to typed resource is not a simple change and I have to make two new typed resources in this one PR, it may take a lot of time. So does it make sense to merge this PR first and then convert them in the future? |
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.
Tests look good, thanks @neil-yechenwei LGTM ❄️
This functionality has been released in v3.36.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
…`scope` properties (hashicorp#19385) * azurerm_network_packet_capture - support for the target_type and scope properties * azurerm_network_packet_capture - support for the target_type and scope properties * update code * update code * update code * update code * update code * update code * update code * update code * update code * update code
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
This PR is to support new properties
target_type
andscope
.--- PASS: TestAccNetworkWatcher/PacketCapture/localDisk (535.58s)
--- PASS: TestAccNetworkWatcher/PacketCapture/storageAccount (457.34s)
--- PASS: TestAccNetworkWatcher/PacketCapture/storageAccountAndLocalDisk (525.55s)
--- PASS: TestAccNetworkWatcher/PacketCapture/withFilters (487.18s)
--- PASS: TestAccNetworkWatcher/PacketCapture/requiresImport (524.49s)
--- PASS: TestAccNetworkWatcher/VMPacketCapture/storageAccountAndLocalDisk (501.07s)
--- PASS: TestAccNetworkWatcher/VMPacketCapture/withFilters (499.95s)
--- PASS: TestAccNetworkWatcher/VMPacketCapture/requiresImport (527.61s)
--- PASS: TestAccNetworkWatcher/VMPacketCapture/localDisk (487.54s)
--- PASS: TestAccNetworkWatcher/VMPacketCapture/storageAccount (495.20s)
--- PASS: TestAccNetworkWatcher/VMSSPacketCapture/localDisk (558.91s)
--- PASS: TestAccNetworkWatcher/VMSSPacketCapture/storageAccount (610.47s)
--- PASS: TestAccNetworkWatcher/VMSSPacketCapture/storageAccountAndLocalDisk (579.17s)
--- PASS: TestAccNetworkWatcher/VMSSPacketCapture/withFilters (559.13s)
--- PASS: TestAccNetworkWatcher/VMSSPacketCapture/requiresImport (592.10s)
--- PASS: TestAccNetworkWatcher/VMSSPacketCapture/machineScope (536.78s)