-
Notifications
You must be signed in to change notification settings - Fork 452
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
Incorrect storage_backing
input for vsphere_content_library
#1351
Comments
Upstream, this is a requirement in data "vsphere_datacenter" "dc" {
name = "dc1"
}
data "vsphere_datastore" "datastore" {
name = "datastore-name"
datacenter_id = data.vsphere_datacenter.dc.id
}
resource "vsphere_content_library" "library" {
name = "Content Library"
storage_backing = [data.vsphere_datastore.datastore.id]
} I'll submit a PR to resolve the issue in the documentation. Ryan |
storage_backing
input for vsphere_content_library
- Updates the content of the documentation - `content_library.html.markdown` - for readability, context, and accuracy. - Updates the content of the documentation - `content_library.html.markdown` - with subscribed library example. - Updates the examples to use `storage_backing` to use a set as required. Addresses #1351 Signed-off-by: Ryan Johnson <[email protected]>
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
0.14.7
0.15.0-beta1
vSphere Provider Version
vSphere 7.0U1
Affected Resource(s)
vsphere_content_library
Description
When deploying a content library the documentation is not correct. The documentations and sample code outlines a string as the input for the storage_backup parameter. This appears correct and consistent with other resources and vSphere functionality.
In actuality terraform is expecting a set of strings (see workaround).
Request
The storage_backup parameter should take a single managed object reference ID as outlined in the documentation.
Terraform Configuration Files
Actual Behavior
Workaround
References
https://registry.terraform.io/providers/hashicorp/vsphere/latest/docs/resources/content_library
Community Note
The text was updated successfully, but these errors were encountered: