We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please provide the version of:
Terraform Version is 1.10.5
resource "nutanix_images_v2" "img-1"{ name = "test-image" description = "img desc" type = "ISO_IMAGE" source{ url = "http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso" } } data "nutanix_clusters" "clusters"{} locals { cluster0 = data.nutanix_clusters.clusters.entities[0].metadata.uuid } resource "nutanix_images_v2" "img-2"{ name = "test-image" description = "img desc" type = "DISK_IMAGE" source{ url = "http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso" } cluster_location_ext_ids = [ local.cluster0 ] }
expected behavior should be an out put of the plan
error stating below
terraform plan
The text was updated successfully, but these errors were encountered:
Hi @levtech1
It appears there's a typo in the documentation example. Below is the corrected version:
resource "nutanix_images_v2" "img-1" { name = "test-image" description = "img desc" type = "ISO_IMAGE" source { url_source { url = "http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso" } } } data "nutanix_clusters_v2" "clusters" {} locals { clusterExtID = data.nutanix_clusters_v2.clusters.cluster_entities[0].ext_id } resource "nutanix_images_v2" "img-2" { name = "test-image" description = "img desc" type = "DISK_IMAGE" source { url_source { url = "http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso" } } cluster_location_ext_ids = [ local.clusterExtID ] }
Here is the PR for the fix : #752
Thanks!
Sorry, something went wrong.
Haroon-Dweikat-Ntx
No branches or pull requests
Nutanix Cluster Information
Please provide the version of:
Terraform Version
Terraform Version is 1.10.5
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
expected behavior should be an out put of the plan
Actual Behavior
error stating below
Steps to Reproduce
terraform plan
Important Factors
The text was updated successfully, but these errors were encountered: