Skip to content

Instantly share code, notes, and snippets.

@gvilarino
Created July 13, 2018 18:16
Show Gist options
  • Save gvilarino/aa6d3a1b2bd217c1acfa606c3365dc71 to your computer and use it in GitHub Desktop.
Save gvilarino/aa6d3a1b2bd217c1acfa606c3365dc71 to your computer and use it in GitHub Desktop.
Terraform output for azure key vault access policy workaround
$ TF_LOG=DEBUG terraform apply
2018/07/13 14:40:37 [INFO] Terraform version: 0.11.7
2018/07/13 14:40:37 [INFO] Go runtime version: go1.10.1
2018/07/13 14:40:37 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.7/bin/terraform", "apply"}
2018/07/13 14:40:37 [DEBUG] Attempting to open CLI config file: /Users/gvilarino/.terraformrc
2018/07/13 14:40:37 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/07/13 14:40:37 [INFO] CLI command args: []string{"apply"}
2018/07/13 14:40:37 [INFO] command: empty terraform config, returning nil
2018/07/13 14:40:37 [DEBUG] command: no data state file found for backend config
2018/07/13 14:40:37 [DEBUG] New state was assigned lineage "20462a66-f432-188c-6eab-3c6b530a1392"
2018/07/13 14:40:37 [INFO] command: backend initialized: <nil>
2018/07/13 14:40:37 [DEBUG] checking for provider in "."
2018/07/13 14:40:37 [DEBUG] checking for provider in "/usr/local/Cellar/terraform/0.11.7/bin"
2018/07/13 14:40:37 [DEBUG] checking for provider in ".terraform/plugins/darwin_amd64"
2018/07/13 14:40:37 [DEBUG] found provider "terraform-provider-azurerm_v1.9.0_x4"
2018/07/13 14:40:37 [DEBUG] found valid plugin: "azurerm", "1.9.0", "/Users/gvilarino/Dev/git/tactivos/infra/test/.terraform/plugins/darwin_amd64/terraform-provider-azurerm_v1.9.0_x4"
2018/07/13 14:40:37 [DEBUG] checking for provisioner in "."
2018/07/13 14:40:37 [DEBUG] checking for provisioner in "/usr/local/Cellar/terraform/0.11.7/bin"
2018/07/13 14:40:37 [DEBUG] checking for provisioner in ".terraform/plugins/darwin_amd64"
2018/07/13 14:40:37 [INFO] command: backend <nil> is not enhanced, wrapping in local
2018/07/13 14:40:37 [INFO] backend/local: starting Apply operation
2018/07/13 14:40:37 [INFO] terraform: building graph: GraphTypeInput
2018/07/13 14:40:37 [DEBUG] Resource state not found for "azurerm_resource_group.rg": azurerm_resource_group.rg
2018/07/13 14:40:37 [DEBUG] Resource state not found for "azurerm_key_vault.vault": azurerm_key_vault.vault
2018/07/13 14:40:37 [DEBUG] resource azurerm_key_vault.vault using provider provider.azurerm
2018/07/13 14:40:37 [DEBUG] resource azurerm_resource_group.rg using provider provider.azurerm
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_tenant_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "azurerm_key_vault.vault" references: [azurerm_resource_group.rg var.sp_app_id var.sp_tenant_id]
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_accessor_app_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_app_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_object_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "provider.azurerm" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "azurerm_resource_group.rg" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.az_subscription_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_client_secret" references: []
2018-07-13T14:40:37.607-0300 [DEBUG] plugin: starting plugin: path=/Users/gvilarino/Dev/git/tactivos/infra/test/.terraform/plugins/darwin_amd64/terraform-provider-azurerm_v1.9.0_x4 args=[/Users/gvilarino/Dev/git/tactivos/infra/test/.terraform/plugins/darwin_amd64/terraform-provider-azurerm_v1.9.0_x4]
2018-07-13T14:40:37.613-0300 [DEBUG] plugin: waiting for RPC address: path=/Users/gvilarino/Dev/git/tactivos/infra/test/.terraform/plugins/darwin_amd64/terraform-provider-azurerm_v1.9.0_x4
2018-07-13T14:40:37.626-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: plugin address: timestamp=2018-07-13T14:40:37.625-0300 address=/var/folders/sp/8k4hlr5s7qj6y6n4gx37s_9r0000gp/T/plugin047901439 network=unix
2018/07/13 14:40:37 [INFO] terraform: building graph: GraphTypeValidate
2018/07/13 14:40:37 [TRACE] ConfigTransformer: Starting for path: []
2018/07/13 14:40:37 [TRACE] Graph after step *terraform.ConfigTransformer:
azurerm_key_vault.vault - *terraform.NodeValidatableResource
azurerm_resource_group.rg - *terraform.NodeValidatableResource
2018/07/13 14:40:37 [TRACE] Graph after step *terraform.LocalTransformer:
azurerm_key_vault.vault - *terraform.NodeValidatableResource
azurerm_resource_group.rg - *terraform.NodeValidatableResource
2018/07/13 14:40:37 [TRACE] Graph after step *terraform.OutputTransformer:
azurerm_key_vault.vault - *terraform.NodeValidatableResource
azurerm_resource_group.rg - *terraform.NodeValidatableResource
2018/07/13 14:40:37 [TRACE] Graph after step *terraform.OrphanResourceTransformer:
azurerm_key_vault.vault - *terraform.NodeValidatableResource
azurerm_resource_group.rg - *terraform.NodeValidatableResource
2018/07/13 14:40:37 [TRACE] Graph after step *terraform.OrphanOutputTransformer:
azurerm_key_vault.vault - *terraform.NodeValidatableResource
azurerm_resource_group.rg - *terraform.NodeValidatableResource
2018/07/13 14:40:37 [TRACE] AttachResourceConfigTransformer: Beginning...
2018/07/13 14:40:37 [TRACE] AttachResourceConfigTransformer: Attach resource config request: azurerm_resource_group.rg
2018/07/13 14:40:37 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"rg", Type:"azurerm_resource_group", RawCount:(*config.RawConfig)(0xc4203cd490), RawConfig:(*config.RawConfig)(0xc4203cd420), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2018/07/13 14:40:37 [DEBUG] Resource state not found for "azurerm_resource_group.rg": azurerm_resource_group.rg
2018/07/13 14:40:37 [DEBUG] Resource state not found for "azurerm_key_vault.vault": azurerm_key_vault.vault
2018/07/13 14:40:37 [DEBUG] resource azurerm_key_vault.vault using provider provider.azurerm
2018/07/13 14:40:37 [DEBUG] resource azurerm_resource_group.rg using provider provider.azurerm
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "azurerm_key_vault.vault" references: [azurerm_resource_group.rg var.sp_app_id var.sp_tenant_id]
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.az_subscription_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_app_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_client_secret" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "provisioner.local-exec" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "azurerm_resource_group.rg" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_accessor_app_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_object_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_tenant_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "provider.azurerm" references: []
oundary
provider.azurerm (close) - *terraform.graphNodeCloseProvider
provisioner.local-exec (close) - *terraform.graphNodeCloseProvisioner
var.az_subscription_id - *terraform.NodeRootVariable
var.sp_accessor_app_id - *terraform.NodeRootVariable
var.sp_app_id - *terraform.NodeRootVariable
var.sp_client_secret - *terraform.NodeRootVariable
var.sp_object_id - *terraform.NodeRootVariable
var.sp_tenant_id - *terraform.NodeRootVariable
2018/07/13 14:40:37 [DEBUG] Starting graph walk: walkValidate
2018-07-13T14:40:37.652-0300 [DEBUG] plugin: waiting for RPC address: path=/usr/local/Cellar/terraform/0.11.7/bin/terraform
2018-07-13T14:40:37.685-0300 [DEBUG] plugin.terraform: 2018/07/13 14:40:37 [INFO] Terraform version: 0.11.7
2018-07-13T14:40:37.685-0300 [DEBUG] plugin.terraform: 2018/07/13 14:40:37 [INFO] Go runtime version: go1.10.1
2018-07-13T14:40:37.685-0300 [DEBUG] plugin.terraform: 2018/07/13 14:40:37 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.11.7/bin/terraform", "internal-plugin", "provisioner", "local-exec"}
2018-07-13T14:40:37.685-0300 [DEBUG] plugin.terraform: 2018/07/13 14:40:37 [DEBUG] Attempting to open CLI config file: /Users/gvilarino/.terraformrc
2018-07-13T14:40:37.685-0300 [DEBUG] plugin.terraform: 2018/07/13 14:40:37 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018-07-13T14:40:37.685-0300 [DEBUG] plugin.terraform: 2018/07/13 14:40:37 [INFO] CLI command args: []string{"internal-plugin", "provisioner", "local-exec"}
2018-07-13T14:40:37.685-0300 [DEBUG] plugin.terraform: local-exec-provisioner (internal) 2018/07/13 14:40:37 [INFO] Starting provisioner plugin local-exec
2018-07-13T14:40:37.686-0300 [DEBUG] plugin.terraform: plugin address: timestamp=2018-07-13T14:40:37.686-0300 address=/var/folders/sp/8k4hlr5s7qj6y6n4gx37s_9r0000gp/T/plugin252894052 network=unix
2018/07/13 14:40:37 [DEBUG] Resource state not found for "azurerm_resource_group.rg": azurerm_resource_group.rg
2018/07/13 14:40:37 [TRACE] Graph after step *terraform.AttachStateTransformer:
azurerm_resource_group.rg - *terraform.NodeValidatableResourceInstance
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "azurerm_resource_group.rg" references: []
2018/07/13 14:40:37 [TRACE] Graph after step *terraform.ReferenceTransformer:
azurerm_resource_group.rg - *terraform.NodeValidatableResourceInstance
2018/07/13 14:40:37 [DEBUG] Resource state not found for "azurerm_key_vault.vault": azurerm_key_vault.vault
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "azurerm_key_vault.vault" references: []
2018/07/13 14:40:37 [TRACE] Graph after step *terraform.ReferenceTransformer:
azurerm_key_vault.vault - *terraform.NodeValidatableResourceInstance
2018/07/13 14:40:37 [INFO] backend/local: apply calling Refresh
2018/07/13 14:40:37 [INFO] terraform: building graph: GraphTypeRefresh
2018/07/13 14:40:37 [TRACE] No managed resources in state during refresh, skipping managed resource transformer
2018/07/13 14:40:37 [TRACE] ConfigTransformer: Starting for path: []
2018/07/13 14:40:37 [TRACE] Graph after step *terraform.ConfigTransformer:
2018/07/13 14:40:37 [TRACE] Graph after step *terraform.OrphanResourceTransformer:
tVariable
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_app_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_client_secret" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_object_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_tenant_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.az_subscription_id" references: []
2018/07/13 14:40:37 [TRACE] Graph after step *terraform.ReferenceTransformer:
var.az_subscription_id - *terraform.NodeRootVariable
var.sp_accessor_app_id - *terraform.NodeRootVariable
var.sp_app_id - *terraform.NodeRootVariable
var.sp_client_secret - *terraform.NodeRootVariable
var.sp_object_id - *terraform.NodeRootVariable
var.sp_tenant_id - *terraform.NodeRootVariable
2018/07/13 14:40:37 [DEBUG] Starting graph walk: walkRefresh
pp_id var.sp_tenant_id]
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.az_subscription_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_app_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_client_secret" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "azurerm_resource_group.rg" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_accessor_app_id" references: []
2018/07/13 14:40:37 [DEBUG] ReferenceTransformer: "var.sp_tenant_id" references: []
2018/07/13 14:40:37 [TRACE] Graph after step *terraform.ReferenceTransformer:
azurerm_key_vault.vault - *terraform.NodePlannableResource
azurerm_resource_group.rg - *terraform.NodePlannableResource
provider.azurerm - *terraform.NodeApplyableProvider
var.sp_app_id - *terraform.NodeRootVariable
var.sp_tenant_id - *terraform.NodeRootVariable
azurerm_resource_group.rg - *terraform.NodePlannableResource
provider.azurerm - *terraform.NodeApplyableProvider
provider.azurerm - *terraform.NodeApplyableProvider
var.az_subscription_id - *terraform.NodeRootVariable
var.sp_accessor_app_id - *terraform.NodeRootVariable
var.sp_app_id - *terraform.NodeRootVariable
var.sp_client_secret - *terraform.NodeRootVariable
var.sp_object_id - *terraform.NodeRootVariable
var.sp_tenant_id - *terraform.NodeRootVariable
zurerm - *terraform.NodeApplyableProvider
var.az_subscription_id - *terraform.NodeRootVariable
var.sp_accessor_app_id - *terraform.NodeRootVariable
var.sp_app_id - *terraform.NodeRootVariable
var.sp_client_secret - *terraform.NodeRootVariable
var.sp_object_id - *terraform.NodeRootVariable
var.sp_tenant_id - *terraform.NodeRootVariable
provider.azurerm - *terraform.NodeApplyableProvider
var.az_subscription_id - *terraform.NodeRootVariable
var.sp_accessor_app_id - *terraform.NodeRootVariable
var.sp_app_id - *terraform.NodeRootVariable
var.sp_client_secret - *terraform.NodeRootVariable
var.sp_object_id - *terraform.NodeRootVariable
var.sp_tenant_id - *terraform.NodeRootVariable
2018-07-13T14:40:37.708-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:37 [DEBUG] Client Secret specified - using Service Principal for Authentication
2018-07-13T14:40:38.423-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:38 [DEBUG] AzureRM Request:
2018-07-13T14:40:38.423-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: GET /subscriptions/REDACTED-SUBCRIPTION-ID/providers?api-version=2017-05-10 HTTP/1.1
2018-07-13T14:40:38.423-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Host: management.azure.com
2018-07-13T14:40:38.423-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: User-Agent: Go/go1.9.2 (amd64-darwin) go-autorest/v10.12.0 Azure-SDK-For-Go/v18.0.0 resources/2017-05-10;HashiCorp-Terraform-v0.11.3
2018-07-13T14:40:38.423-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Authorization: Bearer REDACTED-JWT
2018-07-13T14:40:38.423-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Accept-Encoding: gzip
2018-07-13T14:40:38.423-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:38.423-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] AzureRM Response for https://management.azure.com/subscriptions/REDACTED-SUBCRIPTION-ID/providers?api-version=2017-05-10:
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: HTTP/1.1 200 OK
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Cache-Control: no-cache
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Content-Type: application/json; charset=utf-8
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Date: Fri, 13 Jul 2018 17:40:39 GMT
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Expires: -1
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Pragma: no-cache
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Strict-Transport-Security: max-age=31536000; includeSubDomains
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Vary: Accept-Encoding
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Content-Type-Options: nosniff
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Correlation-Request-Id: 113dc13e-8dac-43e5-90eb-aec82207e4bf
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Ratelimit-Remaining-Subscription-Reads: 14999
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Request-Id: 113dc13e-8dac-43e5-90eb-aec82207e4bf
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Routing-Request-Id: BRAZILSOUTH:20180713T174040Z:113dc13e-8dac-43e5-90eb-aec82207e4bf
2018-07-13T14:40:40.969-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.Automation
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.Cache
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.Cdn
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.Compute
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.ContainerInstance
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.ContainerRegistry
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.ContainerService
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.DataLakeStore
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.DBforMySQL
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.DBforPostgreSQL
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.Devices
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.DocumentDB
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.EventGrid
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.EventHub
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace microsoft.insights
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.KeyVault
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.ManagedIdentity
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.Network
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.OperationalInsights
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.Relay
2018-07-13T14:40:40.984-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.Search
2018-07-13T14:40:40.985-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.ServiceBus
2018-07-13T14:40:40.985-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.Sql
2018-07-13T14:40:40.985-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.Storage
2018-07-13T14:40:40.985-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.Authorization
2018-07-13T14:40:40.985-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:40 [DEBUG] Skipping provider registration for namespace Microsoft.Resources
2018/07/13 14:40:40 [DEBUG] Resource state not found for "azurerm_resource_group.rg": azurerm_resource_group.rg
2018/07/13 14:40:40 [DEBUG] ReferenceTransformer: "azurerm_resource_group.rg" references: []
2018/07/13 14:40:40 [TRACE] Graph after step *terraform.ReferenceTransformer:
azurerm_resource_group.rg - *terraform.NodePlannableResourceInstance
2018/07/13 14:40:40 [DEBUG] Resource state not found for "azurerm_key_vault.vault": azurerm_key_vault.vault
2018/07/13 14:40:40 [DEBUG] ReferenceTransformer: "azurerm_key_vault.vault" references: []
2018/07/13 14:40:40 [DEBUG] command: asking for input: "Do you want to perform these actions?"
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ azurerm_key_vault.vault
id: <computed>
access_policy.#: <computed>
location: "southcentralus"
name: "terraform-test-vault"
resource_group_name: "terraform-rg"
sku.#: "1"
sku.0.name: "standard"
tags.%: <computed>
tenant_id: "REDACTED-TENANT-ID"
vault_uri: <computed>
+ azurerm_resource_group.rg
id: <computed>
location: "southcentralus"
name: "terraform-rg"
tags.%: <computed>
Plan: 2 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
2018/07/13 14:40:42 [INFO] terraform: building graph: GraphTypeApply
2018/07/13 14:40:42 [DEBUG] Resource state not found for "azurerm_resource_group.rg": azurerm_resource_group.rg
2018/07/13 14:40:42 [DEBUG] Resource state not found for "azurerm_key_vault.vault": azurerm_key_vault.vault
2018/07/13 14:40:42 [DEBUG] resource azurerm_resource_group.rg using provider provider.azurerm
2018/07/13 14:40:42 [DEBUG] resource azurerm_key_vault.vault using provider provider.azurerm
2018/07/13 14:40:42 [DEBUG] ReferenceTransformer: "var.sp_client_secret" references: []
2018/07/13 14:40:42 [DEBUG] ReferenceTransformer: "var.sp_object_id" references: []
2018/07/13 14:40:42 [DEBUG] ReferenceTransformer: "var.sp_tenant_id" references: []
2018/07/13 14:40:42 [DEBUG] ReferenceTransformer: "azurerm_resource_group.rg" references: []
2018/07/13 14:40:42 [DEBUG] ReferenceTransformer: "var.az_subscription_id" references: []
2018/07/13 14:40:42 [DEBUG] ReferenceTransformer: "var.sp_app_id" references: []
2018/07/13 14:40:42 [DEBUG] ReferenceTransformer: "var.sp_accessor_app_id" references: []
2018/07/13 14:40:42 [DEBUG] ReferenceTransformer: "azurerm_key_vault.vault" references: [azurerm_resource_group.rg var.sp_app_id var.sp_tenant_id azurerm_resource_group.rg]
2018/07/13 14:40:42 [DEBUG] ReferenceTransformer: "provider.azurerm" references: []
2018/07/13 14:40:42 [DEBUG] ReferenceTransformer: "provisioner.local-exec" references: []
2018/07/13 14:40:42 [TRACE] Graph after step *terraform.ReferenceTransformer:
azurerm_key_vault.vault - *terraform.NodeApplyableResource
azurerm_resource_group.rg - *terraform.NodeApplyableResource
provider.azurerm - *terraform.NodeApplyableProvider
provisioner.local-exec - *terraform.NodeProvisioner
var.sp_app_id - *terraform.NodeRootVariable
var.sp_tenant_id - *terraform.NodeRootVariable
azurerm_resource_group.rg - *terraform.NodeApplyableResource
provider.azurerm - *terraform.NodeApplyableProvider
provider.azurerm - *terraform.NodeApplyableProvider
provisioner.local-exec - *terraform.NodeProvisioner
var.az_subscription_id - *terraform.NodeRootVariable
var.sp_accessor_app_id - *terraform.NodeRootVariable
var.sp_app_id - *terraform.NodeRootVariable
var.sp_client_secret - *terraform.NodeRootVariable
var.sp_object_id - *terraform.NodeRootVariable
var.sp_tenant_id - *terraform.NodeRootVariable
sp_object_id - *terraform.NodeRootVariable
var.sp_tenant_id - *terraform.NodeRootVariable
2018-07-13T14:40:42.286-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:42 [DEBUG] Client Secret specified - using Service Principal for Authentication
2018-07-13T14:40:42.781-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:42 [DEBUG] AzureRM Request:
2018-07-13T14:40:42.781-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: GET /subscriptions/REDACTED-SUBCRIPTION-ID/providers?api-version=2017-05-10 HTTP/1.1
2018-07-13T14:40:42.781-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Host: management.azure.com
2018-07-13T14:40:42.781-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: User-Agent: Go/go1.9.2 (amd64-darwin) go-autorest/v10.12.0 Azure-SDK-For-Go/v18.0.0 resources/2017-05-10;HashiCorp-Terraform-v0.11.3
2018-07-13T14:40:42.781-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Authorization: Bearer REDACTED-JWT
2018-07-13T14:40:42.781-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Accept-Encoding: gzip
2018-07-13T14:40:42.781-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:42.781-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:43.913-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] AzureRM Response for https://management.azure.com/subscriptions/REDACTED-SUBCRIPTION-ID/providers?api-version=2017-05-10:
2018-07-13T14:40:43.914-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: HTTP/1.1 200 OK
2018-07-13T14:40:43.914-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Cache-Control: no-cache
2018-07-13T14:40:43.914-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Content-Type: application/json; charset=utf-8
2018-07-13T14:40:43.914-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Date: Fri, 13 Jul 2018 17:40:42 GMT
2018-07-13T14:40:43.914-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Expires: -1
2018-07-13T14:40:43.914-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Pragma: no-cache
2018-07-13T14:40:43.914-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Strict-Transport-Security: max-age=31536000; includeSubDomains
2018-07-13T14:40:43.914-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Vary: Accept-Encoding
2018-07-13T14:40:43.914-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Content-Type-Options: nosniff
2018-07-13T14:40:43.914-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Correlation-Request-Id: a9b73919-8e0e-47d6-8bef-e641ec6c45cf
2018-07-13T14:40:43.914-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Ratelimit-Remaining-Subscription-Reads: 14998
2018-07-13T14:40:43.914-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Request-Id: a9b73919-8e0e-47d6-8bef-e641ec6c45cf
2018-07-13T14:40:43.914-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Routing-Request-Id: BRAZILSOUTH:20180713T174043Z:a9b73919-8e0e-47d6-8bef-e641ec6c45cf
2018-07-13T14:40:43.914-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.Automation
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.Cache
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.Cdn
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.Compute
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.ContainerInstance
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.ContainerRegistry
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.ContainerService
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.DataLakeStore
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.DBforMySQL
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.DBforPostgreSQL
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.Devices
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.DocumentDB
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.EventGrid
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.EventHub
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace microsoft.insights
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.KeyVault
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.ManagedIdentity
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.Network
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.OperationalInsights
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.Relay
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.Search
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.ServiceBus
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.Sql
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.Storage
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.Authorization
2018-07-13T14:40:43.930-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] Skipping provider registration for namespace Microsoft.Resources
azurerm_resource_group.rg: Creating...
2018/07/13 14:40:43 [DEBUG] apply: azurerm_resource_group.rg: executing Apply
location: "" => "southcentralus"
name: "" => "terraform-rg"
tags.%: "" => "<computed>"
2018-07-13T14:40:43.933-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:43 [DEBUG] AzureRM Request:
2018-07-13T14:40:43.933-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: PUT /subscriptions/REDACTED-SUBCRIPTION-ID/resourcegroups/terraform-rg?api-version=2017-05-10 HTTP/1.1
2018-07-13T14:40:43.933-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Host: management.azure.com
2018-07-13T14:40:43.933-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: User-Agent: Go/go1.9.2 (amd64-darwin) go-autorest/v10.12.0 Azure-SDK-For-Go/v18.0.0 resources/2017-05-10;HashiCorp-Terraform-v0.11.3
2018-07-13T14:40:43.933-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Content-Length: 39
2018-07-13T14:40:43.933-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Authorization: Bearer REDACTED-JWT
2018-07-13T14:40:43.933-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Content-Type: application/json; charset=utf-8
2018-07-13T14:40:43.933-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Accept-Encoding: gzip
2018-07-13T14:40:43.933-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:46.365-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:46 [DEBUG] AzureRM Response for https://management.azure.com/subscriptions/REDACTED-SUBCRIPTION-ID/resourcegroups/terraform-rg?api-version=2017-05-10:
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: HTTP/1.1 201 Created
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Content-Length: 195
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Cache-Control: no-cache
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Content-Type: application/json; charset=utf-8
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Date: Fri, 13 Jul 2018 17:40:45 GMT
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Expires: -1
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Pragma: no-cache
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Strict-Transport-Security: max-age=31536000; includeSubDomains
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Content-Type-Options: nosniff
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Correlation-Request-Id: 779b7750-e840-4332-9a21-5bb7bc7886cf
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Ratelimit-Remaining-Subscription-Writes: 1199
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Request-Id: 779b7750-e840-4332-9a21-5bb7bc7886cf
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Routing-Request-Id: BRAZILSOUTH:20180713T174046Z:779b7750-e840-4332-9a21-5bb7bc7886cf
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:46 [DEBUG] AzureRM Request:
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: GET /subscriptions/REDACTED-SUBCRIPTION-ID/resourcegroups/terraform-rg?api-version=2017-05-10 HTTP/1.1
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Host: management.azure.com
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: User-Agent: Go/go1.9.2 (amd64-darwin) go-autorest/v10.12.0 Azure-SDK-For-Go/v18.0.0 resources/2017-05-10;HashiCorp-Terraform-v0.11.3
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Authorization: Bearer REDACTED-JWT
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Accept-Encoding: gzip
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:46.366-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:46 [DEBUG] AzureRM Response for https://management.azure.com/subscriptions/REDACTED-SUBCRIPTION-ID/resourcegroups/terraform-rg?api-version=2017-05-10:
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: HTTP/1.1 200 OK
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Cache-Control: no-cache
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Content-Type: application/json; charset=utf-8
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Date: Fri, 13 Jul 2018 17:40:45 GMT
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Expires: -1
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Pragma: no-cache
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Strict-Transport-Security: max-age=31536000; includeSubDomains
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Vary: Accept-Encoding
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Content-Type-Options: nosniff
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Correlation-Request-Id: a6135c3a-b332-457c-a566-90b78920aff8
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Ratelimit-Remaining-Subscription-Reads: 14997
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Request-Id: a6135c3a-b332-457c-a566-90b78920aff8
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Routing-Request-Id: BRAZILSOUTH:20180713T174046Z:a6135c3a-b332-457c-a566-90b78920aff8
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:46 [DEBUG] AzureRM Request:
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: GET /subscriptions/REDACTED-SUBCRIPTION-ID/resourcegroups/terraform-rg?api-version=2017-05-10 HTTP/1.1
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Host: management.azure.com
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: User-Agent: Go/go1.9.2 (amd64-darwin) go-autorest/v10.12.0 Azure-SDK-For-Go/v18.0.0 resources/2017-05-10;HashiCorp-Terraform-v0.11.3
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Authorization: Bearer REDACTED-JWT
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Accept-Encoding: gzip
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:46.441-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:46 [DEBUG] AzureRM Response for https://management.azure.com/subscriptions/REDACTED-SUBCRIPTION-ID/resourcegroups/terraform-rg?api-version=2017-05-10:
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: HTTP/1.1 200 OK
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Cache-Control: no-cache
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Content-Type: application/json; charset=utf-8
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Date: Fri, 13 Jul 2018 17:40:45 GMT
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Expires: -1
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Pragma: no-cache
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Strict-Transport-Security: max-age=31536000; includeSubDomains
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Vary: Accept-Encoding
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Content-Type-Options: nosniff
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Correlation-Request-Id: 5d0457e2-03b6-40b7-92fc-26951de14b7e
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Ratelimit-Remaining-Subscription-Reads: 14996
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Request-Id: 5d0457e2-03b6-40b7-92fc-26951de14b7e
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Routing-Request-Id: BRAZILSOUTH:20180713T174046Z:5d0457e2-03b6-40b7-92fc-26951de14b7e
2018-07-13T14:40:46.516-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
azurerm_resource_group.rg: Creation complete after 3s (ID: /subscriptions/REDACTED-SUBCRIPTION-ID/resourceGroups/terraform-rg)
azurerm_key_vault.vault: Creating...
access_policy.#: "" => "<computed>"
location: "" => "southcentralus"
2018-07-13T14:40:46.521-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:46 [INFO] preparing arguments for Azure ARM KeyVault creation.
name: "" => "terraform-test-vault"
2018-07-13T14:40:46.522-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:46 [DEBUG] Locking "azurerm_key_vault.terraform-test-vault"
2018-07-13T14:40:46.522-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:46 [DEBUG] Locked "azurerm_key_vault.terraform-test-vault"
resource_group_name: "" => "terraform-rg"
sku.#: "" => "1"
sku.0.name: "" => "standard"
tags.%: "" => "<computed>"
tenant_id: "" => "REDACTED-TENANT-ID"
vault_uri: "" => "<computed>"
2018-07-13T14:40:46.522-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:46 [DEBUG] AzureRM Request:
2018-07-13T14:40:46.522-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: PUT /subscriptions/REDACTED-SUBCRIPTION-ID/resourceGroups/terraform-rg/providers/Microsoft.KeyVault/vaults/terraform-test-vault?api-version=2016-10-01 HTTP/1.1
2018-07-13T14:40:46.522-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Host: management.azure.com
2018-07-13T14:40:46.522-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: User-Agent: Go/go1.9.2 (amd64-darwin) go-autorest/v10.12.0 Azure-SDK-For-Go/v18.0.0 keyvault/2016-10-01;HashiCorp-Terraform-v0.11.3
2018-07-13T14:40:46.522-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Content-Length: 262
2018-07-13T14:40:46.522-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Authorization: Bearer REDACTED-JWT
2018-07-13T14:40:46.522-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Content-Type: application/json; charset=utf-8
2018-07-13T14:40:46.522-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Accept-Encoding: gzip
2018-07-13T14:40:46.522-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:51 [DEBUG] AzureRM Response for https://management.azure.com/subscriptions/REDACTED-SUBCRIPTION-ID/resourceGroups/terraform-rg/providers/Microsoft.KeyVault/vaults/terraform-test-vault?api-version=2016-10-01:
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: HTTP/1.1 200 OK
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Transfer-Encoding: chunked
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Cache-Control: no-cache
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Content-Type: application/json; charset=utf-8
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Date: Fri, 13 Jul 2018 17:40:51 GMT
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Expires: -1
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Pragma: no-cache
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Server: Microsoft-IIS/10.0
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Strict-Transport-Security: max-age=31536000; includeSubDomains
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Vary: Accept-Encoding
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Aspnet-Version: 4.0.30319
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Content-Type-Options: nosniff
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Correlation-Request-Id: 560c65a1-d747-4bb6-bebb-e4c9c815f520
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Keyvault-Service-Version: 1.0.0.221
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Ratelimit-Remaining-Subscription-Writes: 1198
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Request-Id: 560c65a1-d747-4bb6-bebb-e4c9c815f520
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Routing-Request-Id: BRAZILSOUTH:20180713T174051Z:560c65a1-d747-4bb6-bebb-e4c9c815f520
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Powered-By: ASP.NET
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 236
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 0
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:51.383-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:51.384-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:51 [DEBUG] AzureRM Request:
2018-07-13T14:40:51.384-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: GET /subscriptions/REDACTED-SUBCRIPTION-ID/resourceGroups/terraform-rg/providers/Microsoft.KeyVault/vaults/terraform-test-vault?api-version=2016-10-01 HTTP/1.1
2018-07-13T14:40:51.384-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Host: management.azure.com
2018-07-13T14:40:51.384-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: User-Agent: Go/go1.9.2 (amd64-darwin) go-autorest/v10.12.0 Azure-SDK-For-Go/v18.0.0 keyvault/2016-10-01;HashiCorp-Terraform-v0.11.3
2018-07-13T14:40:51.384-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Authorization: Bearer REDACTED-JWT
2018-07-13T14:40:51.384-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Accept-Encoding: gzip
2018-07-13T14:40:51.384-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:51.384-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:51 [DEBUG] AzureRM Response for https://management.azure.com/subscriptions/REDACTED-SUBCRIPTION-ID/resourceGroups/terraform-rg/providers/Microsoft.KeyVault/vaults/terraform-test-vault?api-version=2016-10-01:
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: HTTP/1.1 200 OK
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Transfer-Encoding: chunked
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Cache-Control: no-cache
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Content-Type: application/json; charset=utf-8
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Date: Fri, 13 Jul 2018 17:40:51 GMT
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Expires: -1
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Pragma: no-cache
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Server: Microsoft-IIS/10.0
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Strict-Transport-Security: max-age=31536000; includeSubDomains
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Vary: Accept-Encoding
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Aspnet-Version: 4.0.30319
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Content-Type-Options: nosniff
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Correlation-Request-Id: 58fb12e3-6a85-4846-bdbf-accfefd75c4f
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Keyvault-Service-Version: 1.0.0.221
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Ratelimit-Remaining-Subscription-Reads: 14995
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Request-Id: 58fb12e3-6a85-4846-bdbf-accfefd75c4f
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Routing-Request-Id: BRAZILSOUTH:20180713T174051Z:58fb12e3-6a85-4846-bdbf-accfefd75c4f
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Powered-By: ASP.NET
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 237
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 0
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:51 [DEBUG] Waiting for Key Vault "terraform-test-vault" (Resource Group "terraform-rg") to become available
2018-07-13T14:40:51.621-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:40:51 [DEBUG] Waiting for state to become: [available]
azurerm_key_vault.vault: Still creating... (10s elapsed)
azurerm_key_vault.vault: Still creating... (20s elapsed)
azurerm_key_vault.vault: Still creating... (30s elapsed)
2018-07-13T14:41:21.623-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:41:21 [DEBUG] Checking to see if KeyVault "https://terraform-test-vault.vault.azure.net/" is available..
2018-07-13T14:41:23.433-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:41:23 [DEBUG] Found KeyVault at "https://terraform-test-vault.vault.azure.net/"
2018-07-13T14:41:23.433-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:41:23 [TRACE] Waiting 10s before next try
azurerm_key_vault.vault: Still creating... (40s elapsed)
2018-07-13T14:41:33.435-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:41:33 [DEBUG] Checking to see if KeyVault "https://terraform-test-vault.vault.azure.net/" is available..
2018-07-13T14:41:34.391-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:41:34 [DEBUG] Found KeyVault at "https://terraform-test-vault.vault.azure.net/"
2018-07-13T14:41:34.391-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:41:34 [TRACE] Waiting 10s before next try
azurerm_key_vault.vault: Still creating... (50s elapsed)
2018-07-13T14:41:44.392-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:41:44 [DEBUG] Checking to see if KeyVault "https://terraform-test-vault.vault.azure.net/" is available..
2018-07-13T14:41:45.371-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:41:45 [DEBUG] Found KeyVault at "https://terraform-test-vault.vault.azure.net/"
2018-07-13T14:41:45.371-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:41:45 [TRACE] Waiting 10s before next try
azurerm_key_vault.vault: Still creating... (1m0s elapsed)
2018-07-13T14:41:55.373-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:41:55 [DEBUG] Checking to see if KeyVault "https://terraform-test-vault.vault.azure.net/" is available..
2018-07-13T14:41:56.276-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:41:56 [DEBUG] Found KeyVault at "https://terraform-test-vault.vault.azure.net/"
2018-07-13T14:41:56.276-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:41:56 [TRACE] Waiting 10s before next try
azurerm_key_vault.vault: Still creating... (1m10s elapsed)
2018-07-13T14:42:06.276-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:06 [DEBUG] Checking to see if KeyVault "https://terraform-test-vault.vault.azure.net/" is available..
azurerm_key_vault.vault: Still creating... (1m20s elapsed)
2018-07-13T14:42:07.317-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:07 [DEBUG] Found KeyVault at "https://terraform-test-vault.vault.azure.net/"
2018-07-13T14:42:07.317-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:07 [TRACE] Waiting 10s before next try
azurerm_key_vault.vault: Still creating... (1m30s elapsed)
2018-07-13T14:42:17.317-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:17 [DEBUG] Checking to see if KeyVault "https://terraform-test-vault.vault.azure.net/" is available..
2018-07-13T14:42:18.220-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:18 [DEBUG] Found KeyVault at "https://terraform-test-vault.vault.azure.net/"
2018-07-13T14:42:18.220-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:18 [TRACE] Waiting 10s before next try
azurerm_key_vault.vault: Still creating... (1m40s elapsed)
2018-07-13T14:42:28.222-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:28 [DEBUG] Checking to see if KeyVault "https://terraform-test-vault.vault.azure.net/" is available..
2018-07-13T14:42:30.082-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:30 [DEBUG] Found KeyVault at "https://terraform-test-vault.vault.azure.net/"
2018-07-13T14:42:30.083-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:30 [TRACE] Waiting 10s before next try
azurerm_key_vault.vault: Still creating... (1m50s elapsed)
2018-07-13T14:42:40.084-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:40 [DEBUG] Checking to see if KeyVault "https://terraform-test-vault.vault.azure.net/" is available..
2018-07-13T14:42:41.053-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:41 [DEBUG] Found KeyVault at "https://terraform-test-vault.vault.azure.net/"
2018-07-13T14:42:41.053-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:41 [TRACE] Waiting 10s before next try
azurerm_key_vault.vault: Still creating... (2m0s elapsed)
2018-07-13T14:42:51.054-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:51 [DEBUG] Checking to see if KeyVault "https://terraform-test-vault.vault.azure.net/" is available..
2018-07-13T14:42:52.009-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:52 [DEBUG] Found KeyVault at "https://terraform-test-vault.vault.azure.net/"
2018-07-13T14:42:52.009-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:42:52 [TRACE] Waiting 10s before next try
azurerm_key_vault.vault: Still creating... (2m10s elapsed)
2018-07-13T14:43:02.011-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:43:02 [DEBUG] Checking to see if KeyVault "https://terraform-test-vault.vault.azure.net/" is available..
2018-07-13T14:43:03.072-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:43:03 [DEBUG] Found KeyVault at "https://terraform-test-vault.vault.azure.net/"
2018-07-13T14:43:03.073-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:43:03 [DEBUG] AzureRM Request:
2018-07-13T14:43:03.073-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: GET /subscriptions/REDACTED-SUBCRIPTION-ID/resourceGroups/terraform-rg/providers/Microsoft.KeyVault/vaults/terraform-test-vault?api-version=2016-10-01 HTTP/1.1
2018-07-13T14:43:03.073-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Host: management.azure.com
2018-07-13T14:43:03.073-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: User-Agent: Go/go1.9.2 (amd64-darwin) go-autorest/v10.12.0 Azure-SDK-For-Go/v18.0.0 keyvault/2016-10-01;HashiCorp-Terraform-v0.11.3
2018-07-13T14:43:03.073-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Authorization: Bearer REDACTED-JWT
2018-07-13T14:43:03.073-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Accept-Encoding: gzip
2018-07-13T14:43:03.073-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:43:03.073-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:43:04 [DEBUG] AzureRM Response for https://management.azure.com/subscriptions/REDACTED-SUBCRIPTION-ID/resourceGroups/terraform-rg/providers/Microsoft.KeyVault/vaults/terraform-test-vault?api-version=2016-10-01:
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: HTTP/1.1 200 OK
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Transfer-Encoding: chunked
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Cache-Control: no-cache
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Content-Type: application/json; charset=utf-8
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Date: Fri, 13 Jul 2018 17:43:04 GMT
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Expires: -1
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Pragma: no-cache
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Server: Microsoft-IIS/10.0
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Strict-Transport-Security: max-age=31536000; includeSubDomains
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: Vary: Accept-Encoding
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Aspnet-Version: 4.0.30319
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Content-Type-Options: nosniff
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Correlation-Request-Id: 55166aeb-cd18-407f-bcdb-7e2405ae2549
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Keyvault-Service-Version: 1.0.0.221
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Ratelimit-Remaining-Subscription-Reads: 14999
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Request-Id: 55166aeb-cd18-407f-bcdb-7e2405ae2549
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Ms-Routing-Request-Id: BRAZILSOUTH:20180713T174304Z:55166aeb-cd18-407f-bcdb-7e2405ae2549
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: X-Powered-By: ASP.NET
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 232
2018/07/13 14:43:04 [TRACE] root: eval: *terraform.EvalWriteState
2018/07/13 14:43:04 [TRACE] root: eval: *terraform.EvalApplyProvisioners
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 0
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4:
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:43:04 [DEBUG] Unlocking "azurerm_key_vault.terraform-test-vault"
2018-07-13T14:43:04.811-0300 [DEBUG] plugin.terraform-provider-azurerm_v1.9.0_x4: 2018/07/13 14:43:04 [DEBUG] Unlocked "azurerm_key_vault.terraform-test-vault"
azurerm_key_vault.vault: Provisioning with 'local-exec'...
azurerm_key_vault.vault (local-exec): Executing: ["/bin/sh" "-c" "az keyvault set-policy --name terraform-test-vault --spn REDACTED-SP-APP-ID --secret-permissions set get"]
azurerm_key_vault.vault: Still creating... (2m20s elapsed)
azurerm_key_vault.vault (local-exec): {
azurerm_key_vault.vault (local-exec): "id": "/subscriptions/REDACTED-SUBCRIPTION-ID/resourceGroups/terraform-rg/providers/Microsoft.KeyVault/vaults/terraform-test-vault",
azurerm_key_vault.vault (local-exec): "location": "southcentralus",
azurerm_key_vault.vault (local-exec): "name": "terraform-test-vault",
azurerm_key_vault.vault (local-exec): "properties": {
azurerm_key_vault.vault (local-exec): "accessPolicies": [
azurerm_key_vault.vault (local-exec): {
azurerm_key_vault.vault (local-exec): "applicationId": null,
azurerm_key_vault.vault (local-exec): "objectId": "c7fbc9a3-4981-4eeb-815f-c6e46a56d5e2",
azurerm_key_vault.vault (local-exec): "permissions": {
azurerm_key_vault.vault (local-exec): "certificates": null,
azurerm_key_vault.vault (local-exec): "keys": null,
azurerm_key_vault.vault (local-exec): "secrets": [
azurerm_key_vault.vault (local-exec): "set",
azurerm_key_vault.vault (local-exec): "get"
azurerm_key_vault.vault (local-exec): ],
azurerm_key_vault.vault (local-exec): "storage": null
azurerm_key_vault.vault (local-exec): },
azurerm_key_vault.vault (local-exec): "tenantId": "REDACTED-TENANT-ID"
azurerm_key_vault.vault (local-exec): }
azurerm_key_vault.vault (local-exec): ],
azurerm_key_vault.vault (local-exec): "createMode": null,
azurerm_key_vault.vault (local-exec): "enableSoftDelete": null,
azurerm_key_vault.vault (local-exec): "enabledForDeployment": false,
azurerm_key_vault.vault (local-exec): "enabledForDiskEncryption": false,
azurerm_key_vault.vault (local-exec): "enabledForTemplateDeployment": false,
azurerm_key_vault.vault (local-exec): "provisioningState": "Succeeded",
azurerm_key_vault.vault (local-exec): "sku": {
azurerm_key_vault.vault (local-exec): "name": "standard"
azurerm_key_vault.vault (local-exec): },
azurerm_key_vault.vault (local-exec): "tenantId": "REDACTED-TENANT-ID",
azurerm_key_vault.vault (local-exec): "vaultUri": "https://terraform-test-vault.vault.azure.net/"
azurerm_key_vault.vault (local-exec): },
azurerm_key_vault.vault (local-exec): "resourceGroup": "terraform-rg",
azurerm_key_vault.vault (local-exec): "tags": {},
azurerm_key_vault.vault (local-exec): "type": "Microsoft.KeyVault/vaults"
azurerm_key_vault.vault (local-exec): }
azurerm_key_vault.vault: Creation complete after 2m27s (ID: /subscriptions/764cac70-7098-4261-8c9e-...t.KeyVault/vaults/terraform-test-vault)
Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
2018/07/13 14:43:14 [DEBUG] plugin: waiting for all plugin processes to complete...
2018-07-13T14:43:14.015-0300 [DEBUG] plugin.terraform: local-exec-provisioner (internal) 2018/07/13 14:43:14 [ERR] plugin: plugin server: accept unix /var/folders/sp/8k4hlr5s7qj6y6n4gx37s_9r0000gp/T/plugin252894052: use of closed network connection
2018-07-13T14:43:14.015-0300 [DEBUG] plugin.terraform: local-exec-provisioner (internal) 2018/07/13 14:43:14 [DEBUG] plugin: waiting for all plugin processes to complete...
2018-07-13T14:43:14.018-0300 [DEBUG] plugin: plugin process exited: path=/usr/local/Cellar/terraform/0.11.7/bin/terraform
2018-07-13T14:43:14.019-0300 [DEBUG] plugin: plugin process exited: path=/Users/gvilarino/Dev/git/tactivos/infra/test/.terraform/plugins/darwin_amd64/terraform-provider-azurerm_v1.9.0_x4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment