Skip to content

Commit

Permalink
terrafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
magodo committed Mar 26, 2020
1 parent be08b29 commit cfe2639
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,13 @@ func testAccAzureRMLogAnalyticsDataSourceWindowsPerformanceCounter_basic(data ac
%s
resource "azurerm_log_analytics_datasource_windows_performance_counter" "test" {
name = "acctestLADS-WPC-%d"
name = "acctestLADS-WPC-%d"
resource_group_name = azurerm_resource_group.test.name
workspace_name = azurerm_log_analytics_workspace.test.name
counter_name = "CPU"
object_name = "CPU"
interval_seconds = 10
instance_name = "*"
workspace_name = azurerm_log_analytics_workspace.test.name
counter_name = "CPU"
object_name = "CPU"
interval_seconds = 10
instance_name = "*"
}
`, template, data.RandomInteger)
}
Expand All @@ -186,13 +186,13 @@ func testAccAzureRMLogAnalyticsDataSourceWindowsPerformanceCounter_complete(data
%s
resource "azurerm_log_analytics_datasource_windows_performance_counter" "test" {
name = "acctestLADS-WPC-%d"
name = "acctestLADS-WPC-%d"
resource_group_name = azurerm_resource_group.test.name
workspace_name = azurerm_log_analytics_workspace.test.name
counter_name = "Mem"
object_name = "Mem"
interval_seconds = 20
instance_name = "inst1"
workspace_name = azurerm_log_analytics_workspace.test.name
counter_name = "Mem"
object_name = "Mem"
interval_seconds = 20
instance_name = "inst1"
}
`, template, data.RandomInteger)
}
Expand All @@ -203,13 +203,13 @@ func testAccAzureRMLogAnalyticsDataSourceWindowsPerformanceCounter_requiresImpor
%s
resource "azurerm_log_analytics_datasource_windows_performance_counter" "import" {
name = azurerm_log_analytics_datasource_windows_performance_counter.test.name
name = azurerm_log_analytics_datasource_windows_performance_counter.test.name
resource_group_name = azurerm_log_analytics_datasource_windows_performance_counter.test.resource_group_name
workspace_name = azurerm_log_analytics_datasource_windows_performance_counter.test.workspace_name
counter_name = azurerm_log_analytics_datasource_windows_performance_counter.test.counter_name
object_name = azurerm_log_analytics_datasource_windows_performance_counter.test.object_name
interval_seconds = azurerm_log_analytics_datasource_windows_performance_counter.test.interval_seconds
instance_name = azurerm_log_analytics_datasource_windows_performance_counter.test.instance_name
workspace_name = azurerm_log_analytics_datasource_windows_performance_counter.test.workspace_name
counter_name = azurerm_log_analytics_datasource_windows_performance_counter.test.counter_name
object_name = azurerm_log_analytics_datasource_windows_performance_counter.test.object_name
interval_seconds = azurerm_log_analytics_datasource_windows_performance_counter.test.interval_seconds
instance_name = azurerm_log_analytics_datasource_windows_performance_counter.test.instance_name
}
`, template)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ resource "azurerm_log_analytics_workspace" "example" {
}
resource "azurerm_log_analytics_datasource_windows_performance_counter" "example" {
name = "example-lad-wpc"
name = "example-lad-wpc"
resource_group_name = azurerm_resource_group.example.name
workspace_name = azurerm_log_analytics_workspace.example.name
counter_name = "CPU"
object_name = "CPU"
interval_seconds = 10
instance_name = "*"
workspace_name = azurerm_log_analytics_workspace.example.name
counter_name = "CPU"
object_name = "CPU"
interval_seconds = 10
instance_name = "*"
}
```

Expand Down

0 comments on commit cfe2639

Please sign in to comment.