aws_servicecatalog_provisioned_product
does not pass zero length provisioning_parameters
#21349
Labels
bug
Addresses a defect in current functionality.
service/servicecatalog
Issues and PRs that pertain to the servicecatalog service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
terraform v1.09
aws provider = v3.63.0
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
Terraform should have provisioned the service catalog product and passed all provisioning params to the api
Actual Behavior
Terraform tries to provision the product but does not send provisioning params that have empty string values, resulting in the following error:
AmazonCloudFormationException ParameterValue for ParameterKey VpcGammaCidr is required (Service: AmazonCloudFormation; Status Code: 400; Error Code: ValidationError; Request ID: 1ae35ff4-9e01-499b-99ee-46e74d90ee99; Proxy: null)
Steps to Reproduce
value = ""
as the valueImportant Factoids
Empty values are often used in cloudformation as part of template logic evaluation, terraform should pass all provisioning params specified.
References
The text was updated successfully, but these errors were encountered: