ibm_resource_instance: unable to list instances by service name or by service type #5899
Labels
enhancement
service/Resource Management
Issues related to Resource Manager or Resource controller Issues
Community Note
Description
API permits list resource listances, for example:
ibmcloud resource service-instances --service-name dns-svcs --type service_instance
ibmcloud resource service-instances --type resource_instance
ibmcloud resource service-instances --all-pages
However, Terraform Data Source
ibm_resource_instance
enforces with error message:one of 'identifier,name' must be specified
Alternatively, there should be a plural equivilant
ibm_resource_instances
which will return a list for given Service Name or Service Type (i.e. service_instance, resource_instance, platform_service_instance, composite_instance, container-registry_instance) ; similar to functionality of various data source within the Terraform Provider, such asibm_is_subnets
(list all subnets within a region).New or Affected Resource(s)
ibm_resource_instance
The text was updated successfully, but these errors were encountered: