You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2018. It is now read-only.
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
@tombuildsstuff humbly request your help on this issue . This bug is there when adding new managed and unmanaged forcing the VM to be recreated it . I really don't know which version of terraform this bug started .Terraform version (v0.8.7) don't had this bug and we can add new unmanaged disk ( managed disk is not supported on this version ) with out any issue . This is really affecting the prod deployment and once again humbly request your help
Hi there,
### Please Note
Terraform Version
[root@puppettest TERRAFORMPROD]# terraform -v
Terraform v0.11.0
Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
-/+ azurerm_virtual_machine.terraformserver_vms (new resource required)
id: "/subscriptions/22860371-f78f-4523-996f-g02d903895cc/resourceGroups/testDevOpsProd/providers/Microsoft.Compute/virtualMachines/testterraformprod01" => (forces new resource)
availability_set_id: "/subscriptions/22860371-f78f-4523-996f-g02d903895cc/resourcegroups/testdevopsprod/providers/microsoft.compute/availabilitysets/testterraformprodavailabilityset01" => "/subscriptions/22860371-f78f-4523-996d-f02d903895cc/resourcegroups/testdevopsprod/providers/microsoft.compute/availabilitysets/testterraformprodavailabilityset01"
delete_data_disks_on_termination: "true" => "true"
delete_os_disk_on_termination: "true" => "true"
location: "eastus2" => "eastus2"
name: "testterraformprod01" => "testterraformprod01"
network_interface_ids.#: "1" => "1"
network_interface_ids.0: "/subscriptions/22860371-f78f-4523-996f-g02d903895cc/resourceGroups/testDevOpsProd/providers/Microsoft.Network/networkInterfaces/testterraformprodnic01" => "/subscriptions/22860371-f78f-4523-996d-f02d903895cc/resourceGroups/testDevOpsProd/providers/Microsoft.Network/networkInterfaces/testterraformprodnic01"
os_profile.#: "1" => "1"
os_profile.1532642761.admin_password: => (attribute changed)
os_profile.1532642761.admin_username: "sapeadmin" => "sapeadmin"
os_profile.1532642761.computer_name: "testterraformprod01" => "testterraformprod01"
os_profile.1532642761.custom_data: "" =>
os_profile_linux_config.#: "1" => "1"
os_profile_linux_config.2972667452.disable_password_authentication: "false" => "false"
os_profile_linux_config.2972667452.ssh_keys.#: "0" => "0"
resource_group_name: "testDevOpsProd" => "testDevOpsProd"
storage_data_disk.#: "0" => "1"
storage_data_disk.0.caching: "" => "ReadWrite"
storage_data_disk.0.create_option: "" => "Empty" (forces new resource)
storage_data_disk.0.disk_size_gb: "" => "200"
storage_data_disk.0.lun: "" => "0"
storage_data_disk.0.managed_disk_id: "" =>
storage_data_disk.0.managed_disk_type: "" => "Standard_LRS"
storage_data_disk.0.name: "" => "testterraformprod01_datadisk01"
storage_image_reference.#: "1" => "1"
storage_image_reference.617466798.id: "" => ""
storage_image_reference.617466798.offer: "Centos" => "Centos"
storage_image_reference.617466798.publisher: "openlogic" => "openlogic"
storage_image_reference.617466798.sku: "7.3" => "7.3"
storage_image_reference.617466798.version: "latest" => "latest"
storage_os_disk.#: "1" => "1"
storage_os_disk.0.caching: "ReadWrite" => "ReadWrite"
storage_os_disk.0.create_option: "FromImage" => "FromImage"
storage_os_disk.0.disk_size_gb: "50" => "50"
storage_os_disk.0.managed_disk_id: "/subscriptions/22860371-f78f-4523-996f-g02d903895cc/resourceGroups/testDevOpsProd/providers/Microsoft.Compute/disks/testterraformprod01_osdisk01" =>
storage_os_disk.0.managed_disk_type: "Standard_LRS" => "Standard_LRS"
storage_os_disk.0.name: "testterraformprod01_osdisk01" => "testterraformprod01_osdisk01"
storage_os_disk.0.os_type: "Linux" => "linux"
tags.%: "3" => "3"
tags.Environment: "testDevOpsProd" => "testDevOpsProd"
tags.Name: "testterraformprod01" => "testterraformprod01"
tags.Role: "terraformprodserver" => "terraformprodserver"
vm_size: "Standard_F4" => "Standard_F4"
Plan: 1 to add, 0 to change, 1 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:
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.Expected Behavior
managed Disk should added to VM with out any issue
Actual Behavior
When the disk is added the VM itself is getting reprovisioned
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? Custom version of OpenStack? Tight ACLs?
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
The text was updated successfully, but these errors were encountered: