[New Data Source]: aws_servicecatalog_search_products #31246
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
new-data-source
Introduces a new data source.
service/servicecatalog
Issues and PRs that pertain to the servicecatalog service.
Description
Currently, the only way to get the products in the Service Catalog is by using the data source aws_servicecatalog_product which seems to be using the DescribeProductAsAdminInput, but this API requires an
id
orname
.The idea is to use the API SearchProductsAsAdminInput, so we can use the filter to get the products.
AWS CLI documentation servicecatalog - search-products
Service Catalog API documentation - DescribeProduct
Requested Resource(s) and/or Data Source(s)
aws_servicecatalog_search_products
Potential Terraform Configuration
References
#21674
AWS CLI documentation servicecatalog - search-products
API SearchProductsAsAdminInput
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: