Skip to content

Commit

Permalink
Fix test and website Terraform formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Nixon committed Jan 27, 2020
1 parent d6bc3eb commit b1c4419
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Expand Up @@ -132,7 +132,7 @@ resource "azurerm_virtual_network" "test" {
location = "${azurerm_resource_group.test.location}"
resource_group_name = "${azurerm_resource_group.test.name}"
}
resource "azurerm_subnet" "test" {
name = "acctsub-%d"
resource_group_name = "${azurerm_resource_group.test.name}"
Expand Down Expand Up @@ -165,6 +165,7 @@ resource "azurerm_virtual_machine" "test" {
sku = "18.04-LTS"
version = "latest"
}
storage_os_disk {
name = "myosdisk-%d"
caching = "ReadWrite"
Expand All @@ -191,13 +192,13 @@ func testAccAzureRMDevTestLabGlobalShutdownSchedule_autoShutdownBasic(data accep
%s
resource "azurerm_dev_test_global_shutdown_schedule" "test" {
location = "${azurerm_resource_group.test.location}"
target_resource_id = "${azurerm_virtual_machine.test.id}"
location = "${azurerm_resource_group.test.location}"
target_resource_id = "${azurerm_virtual_machine.test.id}"
daily_recurrence {
time = "0100"
}
time_zone_id = "Pacific Standard Time"
notification_settings {
Expand All @@ -217,9 +218,9 @@ func testAccAzureRMDevTestLabGlobalShutdownSchedule_autoShutdownBasicUpdate(data
%s
resource "azurerm_dev_test_global_shutdown_schedule" "test" {
location = "${azurerm_resource_group.test.location}"
target_resource_id = "${azurerm_virtual_machine.test.id}"
status = "Disabled"
location = "${azurerm_resource_group.test.location}"
target_resource_id = "${azurerm_virtual_machine.test.id}"
status = "Disabled"
daily_recurrence {
time = "1100"
Expand Down
Expand Up @@ -24,7 +24,7 @@ resource "azurerm_virtual_network" "sample" {
location = "${azurerm_resource_group.sample.location}"
resource_group_name = "${azurerm_resource_group.sample.name}"
}
resource "azurerm_subnet" "sample" {
name = "sample-subnet"
resource_group_name = "${azurerm_resource_group.sample.name}"
Expand Down Expand Up @@ -93,7 +93,6 @@ resource "azurerm_dev_test_global_shutdown_schedule" "sample" {
webhook_url = "https://sample-webhook-url.example.com"
}
}
```

## Argument Reference
Expand Down

0 comments on commit b1c4419

Please sign in to comment.