Open rmey opened 5 months ago
Here is possible solution
# IAM authorize service 2 service
resource "ibm_iam_authorization_policy" "policy" {
source_service_name = "is"
target_service_name = "cloud-object-storage"
source_resource_type = "image"
roles = ["Reader","Writer"]
}
Referring to this topic: https://cloud.ibm.com/docs/vpc?topic=vpc-object-storage-prereq&interface=cli
Only API, CLI and UI examples are shown and Terraform provider Doc does not provide enough examples for iam_authorization_policy