My Oracle Support Banner

Getting Terraform Error "oci_core_volume_attachment.isfu_prod_srv_5_data: Service error:InvalidParameter. Invalid type: PARAVIRTUALIZED. http status code: 400" (Doc ID 2453172.1)

Last updated on OCTOBER 03, 2018

Applies to:

Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.

Symptoms

Getting the below error while trying to launch an OCI Instance with a Volume attached via Paravirtualization.

oci_core_volume_attachment.isfu_prod_srv_5_data: Creating...
  attachment_type: "" => "paravirtualized"
  availability_domain: "" => ""
  chap_secret: "" => ""
  chap_username: "" => ""
  compartment_id: "" => "ocid1.compartment.oc1..abcd"
  display_name: "" => ""
  instance_id: "" => "ocid1.instance.oc1.eu-frankfurt-1.abcd"
  ipv4: "" => ""
  iqn: "" => ""
  is_read_only: "" => ""
  port: "" => ""
  state: "" => ""
  time_created: "" => ""
  use_chap: "" => ""
  volume_id: "" => "ocid1.volume.oc1.eu-frankfurt-1.abcd"

Error: Error applying plan:

1 error(s) occurred:

* oci_core_volume_attachment.isfu_prod_srv_5_data: 1 error(s) occurred:

* oci_core_volume_attachment.isfu_prod_srv_5_data: Service error:InvalidParameter. Invalid type: PARAVIRTUALIZED. http status code: 400

Please note that Terraform does not automatically rollback in the face of errors.Instead, Terraform state file has been partially updated with any resources that successfully completed.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.