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 v1.4.1 on linux_arm64
nutanix_virtual_machine
resource "nutanix_virtual_machine" "ndb_appliance" { name = var.ndb_appliance_vm_name cluster_uuid = data.nutanix_subnet.vlan.cluster_uuid num_vcpus_per_socket = var.ndb_appliance_vm_config.num_vcpus_per_socket num_sockets = var.ndb_appliance_vm_config.num_sockets memory_size_mib = var.ndb_appliance_vm_config.memory_size_mib * 1024 disk_list { data_source_reference = { kind = "image" uuid = nutanix_image.install_disk.id } device_properties { device_type = "DISK" disk_address = { device_index = 0 adapter_type = "SCSI" } } } nic_list { subnet_uuid = data.nutanix_subnet.vlan.id ip_endpoint_list { ip = "10.38.4.76" } } }
│ Error: error: { │ "api_version": "3.1", │ "code": 422, │ "message_list": [ │ { │ "details": { │ "spec.resources.nic_list.0.ip_endpoint_list.0.type": [ │ "u'' is not one of ['ASSIGNED', 'LEARNED']" │ ] │ }, │ "message": "Request could not be processed.", │ "reason": "INVALID_REQUEST" │ } │ ], │ "state": "ERROR" │ }
Documentation says that assigned is default, but it seems the provider isn't passing one to the PC API.
assigned
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Nutanix Cluster Information
Please provide the version of:
Terraform Version
Terraform v1.4.1
on linux_arm64
Affected Resource(s)
nutanix_virtual_machine
Terraform Configuration Files
Debug Output
│ Error: error: {
│ "api_version": "3.1",
│ "code": 422,
│ "message_list": [
│ {
│ "details": {
│ "spec.resources.nic_list.0.ip_endpoint_list.0.type": [
│ "u'' is not one of ['ASSIGNED', 'LEARNED']"
│ ]
│ },
│ "message": "Request could not be processed.",
│ "reason": "INVALID_REQUEST"
│ }
│ ],
│ "state": "ERROR"
│ }
References
Documentation says that
assigned
is default, but it seems the provider isn't passing one to the PC API.The text was updated successfully, but these errors were encountered: