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
{{ message }}
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
terraform-provider-vra7 plugin version
The terraform-provider-vra7 plugin version 1.0.1
Describe the bug
Issue #60 fixed the cluster requirement but not the leasedays
To Reproduce
Steps to reproduce the behavior:
maint.tf content
provider "vra7" {
username = var.vra_username
password = var.vra_password
tenant = var.vra_tenant
host = var.vra_host
insecure = true
}
resource "vra7_deployment" "deployment" {
catalog_item_name = "dev vm"
reasons = "provide a reason"
description = "provide a description"
//lease_days = 2
resource_configuration {
component_name = "vm1"
//Please Provide the following information for the bootstrap node component
configuration = {
"custom.midname" = "BASE"
}
}
}
Terraform command
terraform apply
Error
Error: The catalog item request failed with error vRealize API: [{Code:20117 Mes
sage:The data specified within the request is invalid. SystemMessage:The data sp
ecified within the request is invalid.} {Code:11002 Message:The value of the '_l
easeDays' field cannot be less than 2. SystemMessage:The value of the field with
id _leaseDays cannot be less than 2.} {Code:400 Message: SystemMessage:}]
Expected behavior
Don't declare property value when default exist in the blueprint
Desktop (please complete the following information):
OS: Windows 2016 and CentOS 7
The text was updated successfully, but these errors were encountered:
hobovirtual
changed the title
Provider 1.0.0 - Required to specify leasedays even if there's a default specified in the blueprint
Provider 1.0.1 - Required to specify leasedays even if there's a default specified in the blueprint
Apr 21, 2020
vRA 7.x version
vRealize Automation 7.6
Terraform version
v0.12.24
terraform-provider-vra7 plugin version
The terraform-provider-vra7 plugin version 1.0.1
Describe the bug
Issue #60 fixed the cluster requirement but not the leasedays
To Reproduce
Steps to reproduce the behavior:
Terraform command
terraform apply
Error
Error: The catalog item request failed with error vRealize API: [{Code:20117 Mes
sage:The data specified within the request is invalid. SystemMessage:The data sp
ecified within the request is invalid.} {Code:11002 Message:The value of the '_l
easeDays' field cannot be less than 2. SystemMessage:The value of the field with
id _leaseDays cannot be less than 2.} {Code:400 Message: SystemMessage:}]
Expected behavior
Don't declare property value when default exist in the blueprint
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: