Skip to content

Commit

Permalink
New Resource: azurerm_network_watcher_flow_log (#5059)
Browse files Browse the repository at this point in the history
continuation of #2262
fixes #1776
  • Loading branch information
katbyte authored Dec 18, 2019
1 parent 597e155 commit 8f991ff
Show file tree
Hide file tree
Showing 9 changed files with 1,069 additions and 6 deletions.
1 change: 1 addition & 0 deletions azurerm/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ func Provider() terraform.ResourceProvider {
"azurerm_network_profile": resourceArmNetworkProfile(),
"azurerm_network_security_group": resourceArmNetworkSecurityGroup(),
"azurerm_network_security_rule": resourceArmNetworkSecurityRule(),
"azurerm_network_watcher_flow_log": resourceArmNetworkWatcherFlowLog(),
"azurerm_network_watcher": resourceArmNetworkWatcher(),
"azurerm_netapp_account": resourceArmNetAppAccount(),
"azurerm_netapp_pool": resourceArmNetAppPool(),
Expand Down
2 changes: 1 addition & 1 deletion azurerm/resource_arm_network_connection_monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ func testCheckAzureRMNetworkConnectionMonitorDestroy(s *terraform.State) error {
func testAccAzureRMNetworkConnectionMonitor_baseConfig(rInt int, location string) string {
return fmt.Sprintf(`
resource "azurerm_resource_group" "test" {
name = "acctestRG-%d"
name = "acctestRG-watcher-%d"
location = "%s"
}
Expand Down
2 changes: 1 addition & 1 deletion azurerm/resource_arm_network_packet_capture_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func testCheckAzureRMNetworkPacketCaptureDestroy(s *terraform.State) error {
func testAzureRMNetworkPacketCapture_base(rInt int, location string) string {
return fmt.Sprintf(`
resource "azurerm_resource_group" "test" {
name = "acctestRG-%d"
name = "acctestRG-watcher-%d"
location = "%s"
}
Expand Down
1 change: 1 addition & 0 deletions azurerm/resource_arm_network_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func resourceArmNetworkWatcher() *schema.Resource {
Read: resourceArmNetworkWatcherRead,
Update: resourceArmNetworkWatcherCreateUpdate,
Delete: resourceArmNetworkWatcherDelete,

Importer: &schema.ResourceImporter{
State: schema.ImportStatePassthrough,
},
Expand Down
Loading

0 comments on commit 8f991ff

Please sign in to comment.