IBM-Cloud / terraform-provider-ibm

https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs
Mozilla Public License 2.0
341 stars 670 forks source link

Support for retrieving CBR rules #3540

Open data-henrik opened 2 years ago

data-henrik commented 2 years ago

Community Note

Description

The API allows to retrieve existing rules, but ibm_cbr_rule requires an ID. https://cloud.ibm.com/apidocs/context-based-restrictions#list-rules

Add support to retrieve all rules.

data-henrik commented 1 year ago

In addition, allow to retrieve a rule by name.