-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[MS] Adding Managed Disk as a Data Source #121
[MS] Adding Managed Disk as a Data Source #121
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @echuvyrov
Thanks for this PR - besides a couple of minor tweaks this LGTM :)
Tests pass:
$ TF_ACC=1 envchain azurerm go test ./azurerm -v -run TestAccDataSourceAzureRMManagedDisk -timeout 300m -parallel 5
=== RUN TestAccDataSourceAzureRMManagedDisk_basic
--- PASS: TestAccDataSourceAzureRMManagedDisk_basic (197.60s)
PASS
ok github.com/terraform-providers/terraform-provider-azurerm/azurerm 197.611s
Thanks!
* `source_uri` - The source URI for the managed disk | ||
* `source_resource_id` - ID of an existing managed disk that the current resource was created from. | ||
* `os_type` - The operating system for managed disk. Valid values are `Linux` or `Windows` | ||
* `disk_size_gb` - The size of the managed disk in gigabytes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add in the missing tags
field too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
website/azurerm.erb
Outdated
|
||
<li<%= sidebar_current("docs-azurerm-datasource-managed-disk") %>> | ||
<a href="/docs/providers/azurerm/d/managed_disk.html">azurerm_managed_disk</a> | ||
</li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: can we sort this alphabetically in the list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@tombuildsstuff changes made, thanks for review! |
Changes LGTM - thanks @echuvyrov :) |
[MS] Adding Managed Disk as a Data Source
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! |
New data source - managed disks.