Skip to content

Instantly share code, notes, and snippets.

View StephenWeatherford's full-sized avatar

Stephen Weatherford (MSFT) StephenWeatherford

View GitHub Profile
azurerm_resource_group.test: Creating...
location: "" => "westus"
name: "" => "bug12999b"
tags.%: "" => "<computed>"
azurerm_resource_group.test: Creation complete (ID: [])
azurerm_storage_account.test: Creating...
access_tier: "" => "<computed>"
account_kind: "" => "Storage"
account_type: "" => "Standard_LRS"
location: "" => "westus"
@StephenWeatherford
StephenWeatherford / gist:f1e0b1a4af30e670e983a0ace68b862c
Created April 15, 2017 00:02
Template for reproing terraform #12999
resource "azurerm_resource_group" "test" {
name = "bug12999"
location = "West US"
}
resource "azurerm_virtual_network" "test" {
name = "countvnet"
address_space = ["192.168.0.0/16"]
location = "West US"
resource_group_name = "${azurerm_resource_group.test.name}"
@StephenWeatherford
StephenWeatherford / gist:bd52df7438b646916db3ee4a40ed2f4e
Created April 6, 2017 20:40
Referencing ARM deployment outputs before the deployment has succeeded gives an error
2017/04/06 20:38:07 [INFO] Terraform version: 0.9.3 dev 9f23779933474ac1e83679f47057b85c9071bee7+CHANGES
2017/04/06 20:38:07 [INFO] Go runtime version: go1.8
2017/04/06 20:38:07 [INFO] CLI args: []string{"/home/Stephen/go/bin/terraform", "apply"}
2017/04/06 20:38:07 [DEBUG] Detected home directory from env var: /home/Stephen
2017/04/06 20:38:07 [DEBUG] Discovered plugin: azurerm = /home/Stephen/go/bin/terraform-provider-azurerm
2017/04/06 20:38:07 [DEBUG] Detected home directory from env var: /home/Stephen
2017/04/06 20:38:07 [DEBUG] Attempting to open CLI config file: /home/Stephen/.terraformrc
2017/04/06 20:38:07 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/04/06 20:38:07 [INFO] CLI command args: []string{"apply"}
2017/04/06 20:38:07 [DEBUG] command: loading backend config file: /home/Stephen/bug7353