You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The image creation process should be successful via Terraform as is the attributes supported by the REST API in version 3.
This should be supported as it is indicated in the documentation for the 'nutanix_image' resource:
│ Error: Unsupported argument
│
│ on main.tf line 23, in resource "nutanix_image" "test":
│ 23: data_source_reference = {
│
│ An argument named "data_source_reference" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on main.tf line 30, in resource "nutanix_image" "test":
│ 30: initial_placement_ref_list = [
│
│ An argument named "initial_placement_ref_list" is not expected here.
However, it's worth noting that the 'initial_placement_ref_list' attribute is not mentioned in the documentation even though it is equally important when importing a 'VM_DISK' source image into the location of its placement method.
Steps to Reproduce
terraform apply
Important Factors
This issue has already been addressed in 'Provider needs to support data_source_reference attribute for nutanix_image resource' (#52) and is supposed to be fixed in 'Add missing API fields for structs' (#80)."
The text was updated successfully, but these errors were encountered:
Nutanix Cluster Information
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
The image creation process should be successful via Terraform as is the attributes supported by the REST API in version 3.
This should be supported as it is indicated in the documentation for the 'nutanix_image' resource:
Actual Behavior
│ Error: Unsupported argument
│
│ on main.tf line 23, in resource "nutanix_image" "test":
│ 23: data_source_reference = {
│
│ An argument named "data_source_reference" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on main.tf line 30, in resource "nutanix_image" "test":
│ 30: initial_placement_ref_list = [
│
│ An argument named "initial_placement_ref_list" is not expected here.
However, it's worth noting that the 'initial_placement_ref_list' attribute is not mentioned in the documentation even though it is equally important when importing a 'VM_DISK' source image into the location of its placement method.
Steps to Reproduce
terraform apply
Important Factors
This issue has already been addressed in 'Provider needs to support data_source_reference attribute for nutanix_image resource' (#52) and is supposed to be fixed in 'Add missing API fields for structs' (#80)."
The text was updated successfully, but these errors were encountered: