Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to attach managed_disk as Data disk to a existing VM? #1014

Closed
woosley opened this issue Mar 21, 2018 · 7 comments
Closed

No way to attach managed_disk as Data disk to a existing VM? #1014

woosley opened this issue Mar 21, 2018 · 7 comments

Comments

@woosley
Copy link

woosley commented Mar 21, 2018

I am trying to accomplish VM creation and data disk attachment in this order

  1. create a managed_disk
  2. create a VM, without creating any data disk
  3. attach the managed_disk as datadisk to the created VM

but it seems not possible accroding to the document. The only way to create data disk for a VM is when a vm is created by azurerm_virtual_machine with storage_os_disk

is there any limitation in the backgroud or this feature is just missing? I really want this feature if possible.

@WodansSon
Copy link
Collaborator

Thanks for reporting this issue. Closing this as a duplicate of #734. Please track status of this with that issue.

@tombuildsstuff
Copy link
Contributor

re-closing this since it’s a duplicate

@woosley
Copy link
Author

woosley commented Apr 16, 2018

this is done? can you provide any link to the changes related?

@tombuildsstuff
Copy link
Contributor

@woosley this is a duplicate of #734 where this work is being tracked. Please ignore the “done” state above, that’s coming from a GitHub project. Thanks!

@woosley
Copy link
Author

woosley commented Apr 16, 2018

I don't think it is duplicated. what I want is something like old azure_data_disk described here
https://www.terraform.io/docs/providers/azure/r/data_disk.html. The issue described in #734 is just the new data disk can not be attached.

@tombuildsstuff
Copy link
Contributor

@woosley apologies, the wrong issue is linked above, this is duplicating #795

@tombuildsstuff tombuildsstuff added the service/disk-attachments Virtual Machine Disk Attachments label Dec 10, 2018
@ghost
Copy link

ghost commented Mar 5, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants