-
Notifications
You must be signed in to change notification settings - Fork 34
Feature/guest ip #24
base: master
Are you sure you want to change the base?
Feature/guest ip #24
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.
@mborodin can you also add docs for the new datasource? You can add it in this folder:
https://github.com/ringods/terraform-provider-xenserver/tree/master/website/docs/d
If you don't have that folder, please rebase from master
.
@ringods done |
@mborodin can you rebase from |
…st_metrics is only usable to display information and not to reuse it due to HCL limitations
69762cd
to
238a2a0
Compare
could this be merged please? |
I have noticed that the startup_delay isn't working and when
executes before the VM has fully booted up and the tools have connected, which breaks the execution The following error is returned
|
@mborodin I have finally found the time to review this PR. I am not so fond of the datasource name But from a Terraform viewpoint, I rather would like to know all of this info from a single datasource What's your idea on renaming the datasource? Also, could you rebase from master one last time? I merged a few other PRs last weekend. |
I agree, IP address of VM should be available as an attribute of the VM resource instead of only as a datasource. Otherwise it is not possible to use these IPs correctly in a count meta-parameter of other resources. I submitted #38 which is the same as this one (#24) but rebased from master. You can ignore it if it is not needed. |
This PR solves #13 Example is here: https://github.com/mborodin/terraform-provider-xenserver/blob/de52ec6f2adb8ad48cef555d0d6c48e24cef2d9e/examples/datasource_vm_guest_metrics/main.tf