When passing inputs in vra deployment for flavor its throws error sizing is required.
Lalithchengala opened this issue · 0 comments
Code of Conduct
This project has a Code of Conduct that all participants are expected to understand and follow:
- I have read and agree to the project's Code of Conduct
vRA Version
Version 8.11.1.29538
Terraform Version
Terraform v1.3.7
on linux_amd64
vRA Terraform Provider Version
- provider registry.terraform.io/vmware/vra v0.7.1
Affected Resource(s)
Terraform Configuration Files
resource "vra_deployment" "CentOS" {
name = var.deployment_name
description = "Deployment description"
catalog_item_id = data.vra_catalog_item.CentOS.id
catalog_item_version = var.catalog_item_version
project_id = data.vra_project.CentOS.id
inputs = {
flavor = "small"
image = "CentOS"
count = 1
flag = false
location = ""
leaseDays = ""
}
timeouts {
create = "30m"
delete = "30m"
update = "30m"
}
}
# Copy-paste your Terraform configurations here.
# For large Terraform configs, please use a service like Dropbox and share a link to the ZIP file.
Expected Behavior
when passing inputs in vra deployment for flavor=small should be taken into account
Actual Behavior
vra deployment is failing with error says sizing is required but not sure how to pass this sizing to flavor tried different ways to pass this value but nothing worked.
Error: [POST /catalog/api/items/{id}/request][400] requestCatalogItemInstancesUsingPOST1BadRequest &{Message:'Sizing' is required. StatusCode:400}
Steps to Reproduce
Tried exactly the same way how it mentioned in this Git Repository but throwing me the error sizing is required. Can you please suggest me how to pass this value.Screenshots
Important Factoids
When I checked our VRA8 Environment the Json file consists value something like this "Sizing":{"Flavor":"Small"} If I try just flavor = small it is failing with sizing required
Community Note
- Please vote on this issue by adding a
👍 reaction to the original issue to help the community and maintainers prioritize this request - Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment