Created
February 9, 2017 14:34
-
-
Save djsly/eaf7e1e3786915dd2a7e285db0f0b7c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
09:18 $ terraform apply | |
azurerm_resource_group.test: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg) | |
data.azurerm_client_config.current: Refreshing state... | |
azurerm_virtual_network.test: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Network/virtualNetworks/acctvn) | |
azurerm_storage_account.test.0: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Storage/storageAccounts/accsai0) | |
azurerm_subnet.test: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Network/virtualNetworks/acctvn/subnets/acctsub) | |
azurerm_storage_container.test.0: Refreshing state... (ID: vhds) | |
azurerm_network_interface.test.0: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Network/networkInterfaces/acctni0) | |
azurerm_virtual_machine.test.0: Refreshing state... (ID: /subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Compute/virtualMachines/acctvm0) | |
azurerm_virtual_machine.test.0: Destroying... | |
azurerm_storage_account.test.1: Creating... | |
access_tier: "" => "<computed>" | |
account_kind: "" => "Storage" | |
account_type: "" => "Standard_LRS" | |
location: "" => "westus" | |
name: "" => "accsai1" | |
primary_access_key: "" => "<computed>" | |
primary_blob_endpoint: "" => "<computed>" | |
primary_file_endpoint: "" => "<computed>" | |
primary_location: "" => "<computed>" | |
primary_queue_endpoint: "" => "<computed>" | |
primary_table_endpoint: "" => "<computed>" | |
resource_group_name: "" => "acctestrg" | |
secondary_access_key: "" => "<computed>" | |
secondary_blob_endpoint: "" => "<computed>" | |
secondary_location: "" => "<computed>" | |
secondary_queue_endpoint: "" => "<computed>" | |
secondary_table_endpoint: "" => "<computed>" | |
tags.%: "" => "1" | |
tags.environment: "" => "staging" | |
azurerm_network_interface.test.1: Creating... | |
applied_dns_servers.#: "" => "<computed>" | |
dns_servers.#: "" => "<computed>" | |
enable_ip_forwarding: "" => "false" | |
internal_dns_name_label: "" => "<computed>" | |
internal_fqdn: "" => "<computed>" | |
ip_configuration.#: "" => "1" | |
ip_configuration.2250438086.load_balancer_backend_address_pools_ids.#: "" => "<computed>" | |
ip_configuration.2250438086.load_balancer_inbound_nat_rules_ids.#: "" => "<computed>" | |
ip_configuration.2250438086.name: "" => "testconfiguration1" | |
ip_configuration.2250438086.private_ip_address: "" => "<computed>" | |
ip_configuration.2250438086.private_ip_address_allocation: "" => "dynamic" | |
ip_configuration.2250438086.public_ip_address_id: "" => "<computed>" | |
ip_configuration.2250438086.subnet_id: "" => "/subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Network/virtualNetworks/acctvn/subnets/acctsub" | |
location: "" => "westus" | |
mac_address: "" => "<computed>" | |
name: "" => "acctni1" | |
network_security_group_id: "" => "<computed>" | |
private_ip_address: "" => "<computed>" | |
resource_group_name: "" => "acctestrg" | |
tags.%: "" => "<computed>" | |
virtual_machine_id: "" => "<computed>" | |
azurerm_network_interface.test.1: Creation complete | |
azurerm_virtual_machine.test.0: Still destroying... (10s elapsed) | |
azurerm_storage_account.test.1: Still creating... (10s elapsed) | |
azurerm_virtual_machine.test.0: Still destroying... (20s elapsed) | |
azurerm_storage_account.test.1: Still creating... (20s elapsed) | |
azurerm_virtual_machine.test.0: Still destroying... (30s elapsed) | |
azurerm_storage_account.test.1: Still creating... (30s elapsed) | |
azurerm_storage_account.test.1: Creation complete | |
azurerm_storage_container.test.1: Creating... | |
container_access_type: "" => "private" | |
name: "" => "vhds" | |
properties.%: "" => "<computed>" | |
resource_group_name: "" => "acctestrg" | |
storage_account_name: "" => "accsai1" | |
azurerm_storage_container.test.1: Creation complete | |
azurerm_virtual_machine.test.1: Creating... | |
availability_set_id: "" => "<computed>" | |
delete_data_disks_on_termination: "" => "false" | |
delete_os_disk_on_termination: "" => "false" | |
license_type: "" => "<computed>" | |
location: "" => "westus" | |
name: "" => "acctvm1" | |
network_interface_ids.#: "" => "1" | |
network_interface_ids.3545729124: "" => "/subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Network/networkInterfaces/acctni1" | |
os_profile.#: "" => "1" | |
os_profile.1736693719.admin_password: "" => "Password1234!" | |
os_profile.1736693719.admin_username: "" => "testadmin" | |
os_profile.1736693719.computer_name: "" => "hostname1" | |
os_profile.1736693719.custom_data: "" => "<computed>" | |
os_profile_linux_config.#: "" => "1" | |
os_profile_linux_config.2972667452.disable_password_authentication: "" => "false" | |
os_profile_linux_config.2972667452.ssh_keys.#: "" => "0" | |
resource_group_name: "" => "acctestrg" | |
storage_image_reference.#: "" => "1" | |
storage_image_reference.1807630748.offer: "" => "UbuntuServer" | |
storage_image_reference.1807630748.publisher: "" => "Canonical" | |
storage_image_reference.1807630748.sku: "" => "14.04.2-LTS" | |
storage_image_reference.1807630748.version: "" => "latest" | |
storage_os_disk.#: "" => "1" | |
storage_os_disk.1822292588.caching: "" => "ReadWrite" | |
storage_os_disk.1822292588.create_option: "" => "FromImage" | |
storage_os_disk.1822292588.disk_size_gb: "" => "" | |
storage_os_disk.1822292588.image_uri: "" => "" | |
storage_os_disk.1822292588.name: "" => "myosdisk1" | |
storage_os_disk.1822292588.os_type: "" => "" | |
storage_os_disk.1822292588.vhd_uri: "" => "https://accsai1.blob.core.windows.net/vhds/myosdisk1.vhd" | |
tags.%: "" => "1" | |
tags.environment: "" => "staging" | |
vm_size: "" => "Standard_A0" | |
azurerm_virtual_machine.test.0: Still destroying... (40s elapsed) | |
azurerm_virtual_machine.test.1: Still creating... (10s elapsed) | |
azurerm_virtual_machine.test.0: Still destroying... (50s elapsed) | |
azurerm_virtual_machine.test.1: Still creating... (20s elapsed) | |
azurerm_virtual_machine.test.0: Still destroying... (1m0s elapsed) | |
azurerm_virtual_machine.test.1: Still creating... (30s elapsed) | |
azurerm_virtual_machine.test.0: Still destroying... (1m10s elapsed) | |
azurerm_virtual_machine.test.1: Still creating... (40s elapsed) | |
azurerm_virtual_machine.test.0: Still destroying... (1m20s elapsed) | |
azurerm_virtual_machine.test.1: Still creating... (50s elapsed) | |
azurerm_virtual_machine.test.0: Still destroying... (1m30s elapsed) | |
azurerm_virtual_machine.test.1: Still creating... (1m0s elapsed) | |
azurerm_virtual_machine.test.0: Still destroying... (1m40s elapsed) | |
azurerm_virtual_machine.test.1: Still creating... (1m10s elapsed) | |
azurerm_virtual_machine.test.0: Still destroying... (1m50s elapsed) | |
azurerm_virtual_machine.test.1: Still creating... (1m20s elapsed) | |
azurerm_virtual_machine.test.0: Still destroying... (2m0s elapsed) | |
azurerm_virtual_machine.test.0: Destruction complete | |
azurerm_virtual_machine.test.0: Creating... | |
availability_set_id: "" => "<computed>" | |
delete_data_disks_on_termination: "" => "false" | |
delete_os_disk_on_termination: "" => "false" | |
license_type: "" => "<computed>" | |
location: "" => "westus" | |
name: "" => "acctvm0" | |
network_interface_ids.#: "" => "1" | |
network_interface_ids.2756753650: "" => "/subscriptions/f0dc697c-673c-4fb0-8852-7f47533b4dd6/resourceGroups/acctestrg/providers/Microsoft.Network/networkInterfaces/acctni0" | |
os_profile.#: "" => "1" | |
os_profile.2123949718.admin_password: "" => "Password1234!" | |
os_profile.2123949718.admin_username: "" => "testadmin" | |
os_profile.2123949718.computer_name: "" => "hostname0" | |
os_profile.2123949718.custom_data: "" => "<computed>" | |
os_profile_linux_config.#: "" => "1" | |
os_profile_linux_config.2972667452.disable_password_authentication: "" => "false" | |
os_profile_linux_config.2972667452.ssh_keys.#: "" => "0" | |
resource_group_name: "" => "acctestrg" | |
storage_image_reference.#: "" => "1" | |
storage_image_reference.1807630748.offer: "" => "UbuntuServer" | |
storage_image_reference.1807630748.publisher: "" => "Canonical" | |
storage_image_reference.1807630748.sku: "" => "14.04.2-LTS" | |
storage_image_reference.1807630748.version: "" => "latest" | |
storage_os_disk.#: "" => "1" | |
storage_os_disk.730729623.caching: "" => "ReadWrite" | |
storage_os_disk.730729623.create_option: "" => "FromImage" | |
storage_os_disk.730729623.disk_size_gb: "" => "" | |
storage_os_disk.730729623.image_uri: "" => "" | |
storage_os_disk.730729623.name: "" => "myosdisk1" | |
storage_os_disk.730729623.os_type: "" => "" | |
storage_os_disk.730729623.vhd_uri: "" => "https://accsai0.blob.core.windows.net/vhds/myosdisk1.vhd" | |
tags.%: "" => "1" | |
tags.environment: "" => "staging" | |
vm_size: "" => "Standard_A0" | |
azurerm_virtual_machine.test.1: Still creating... (1m30s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (9s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (10s elapsed) | |
azurerm_virtual_machine.test.1: Still creating... (1m40s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (19s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (20s elapsed) | |
azurerm_virtual_machine.test.1: Still creating... (1m50s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (29s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (30s elapsed) | |
azurerm_virtual_machine.test.1: Still creating... (2m0s elapsed) | |
azurerm_virtual_machine.test.1: Creation complete | |
azurerm_virtual_machine.test.0: Still creating... (39s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (40s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (49s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (50s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (59s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (1m0s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (1m9s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (1m10s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (1m19s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (1m20s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (1m29s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (1m30s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (1m39s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (1m40s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (1m49s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (1m50s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (1m59s elapsed) | |
azurerm_virtual_machine.test.0: Still creating... (2m0s elapsed) | |
Error applying plan: | |
1 error(s) occurred: | |
* azurerm_virtual_machine.test.0: compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=200 -- Original Error: Long running operation terminated with status 'Failed': Code="TargetDiskBlobAlreadyExists" Message="Blob https://accsai0.blob.core.windows.net/vhds/myosdisk1.vhd already exists. Please provide a different blob URI as target for disk 'myosdisk1'." | |
Terraform does not automatically rollback in the face of errors. | |
Instead, your Terraform state file has been partially updated with | |
any resources that successfully completed. Please address the error | |
above and apply again to incrementally change your infrastructure. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment