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

[MS] Adding Managed Disk as a Data Source #121

Merged
merged 2 commits into from
Jun 23, 2017
Merged

[MS] Adding Managed Disk as a Data Source #121

merged 2 commits into from
Jun 23, 2017

Conversation

echuvyrov
Copy link
Contributor

New data source - managed disks.

Copy link
Contributor

@tombuildsstuff tombuildsstuff left a 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.
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done


<li<%= sidebar_current("docs-azurerm-datasource-managed-disk") %>>
<a href="/docs/providers/azurerm/d/managed_disk.html">azurerm_managed_disk</a>
</li>
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@echuvyrov
Copy link
Contributor Author

@tombuildsstuff changes made, thanks for review!

@tombuildsstuff
Copy link
Contributor

Changes LGTM - thanks @echuvyrov :)

@tombuildsstuff tombuildsstuff merged commit 9e251d5 into hashicorp:master Jun 23, 2017
tombuildsstuff added a commit that referenced this pull request Jun 23, 2017
tombuildsstuff added a commit that referenced this pull request Jul 4, 2017
[MS] Adding Managed Disk as a Data Source
tombuildsstuff added a commit that referenced this pull request Jul 4, 2017
@ghost
Copy link

ghost commented Apr 1, 2020

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 Apr 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants