terraform-provider-vra7 icon indicating copy to clipboard operation
terraform-provider-vra7 copied to clipboard

Problem with cluster value (not integer)

Open jmandl opened this issue 4 years ago • 4 comments

vRA 7.6 version The vRA 7.6 version where is issue is found. Terraform version Terraform v0.12.24 terraform-provider-vra7 plugin version

  • provider.vra7 v2.0.1

Describe the bug Since I upgrade the terraform provider to 2.0.1 the cluster information should be informed. I tried the following options: -1 - Terraform show this message: Code:20117 Message:The data specified within the request is invalid. SystemMessage:The data specified within the request is invalid.} {Code:11002 Message:The value of the '_cluster' field cannot be less than 1 0 - Terraform show this message: Code:20117 Message:The data specified within the request is invalid. SystemMessage:The data specified within the request is invalid.} {Code:11003 Message:The value of the '_cluster' field cannot be more than 1 1 - Terraform show this message: An internal error occurred. Details: [Cluster size is not integer for a component in blueprint: 2 - Terraform show this message: Code:20117 Message:The data specified within the request is invalid. SystemMessage:The data specified within the request is invalid.} {Code:11003 Message:The value of the '_cluster' field cannot be more than 1.

If i downgrade the provider to 1.0.1 everything works as expected.

I am using terraform with CentOS 8.

--- resource.tf file: resource "vra7_deployment" "test" { count = 1 catalog_item_id = var.catalog_item_id businessgroup_id = var.businessgroup_id description = "HTTPS Server - TerraForm" reasons = "https" deployment_configuration = { _leaseDays = "0" _number_of_instances = 1 _deploymentName= "https" deployment_property = "Team" }

resource_configuration { component_name = var.component_XAAS cluster = 1 configuration = { .. REMOVED } } resource_configuration { component_name = "OS_Linux" cluster = 1 configuration = { .. REMOVED } } wait_timeout = 20 }

jmandl avatar Nov 10 '20 17:11 jmandl