Open hkantare opened 4 years ago
But as a work around we can pass serviceID as one of the parameter
data "ibm_resource_instance" "resource_instance" {
name = "myobjectsotrage"
}
resource "ibm_iam_service_id" "serviceID" {
name = "test"
description = "New ServiceID"
}
resource "ibm_resource_key" "resourceKey" {
name = "myobjectkey"
role = "Viewer"
resource_instance_id = data.ibm_resource_instance.resource_instance.id
parameters = {
"serviceid_crn" = ibm_iam_service_id.serviceID.crn
}
//User can increase timeouts
timeouts {
create = "15m"
delete = "15m"
}
}
Updated the workaround in docs
Add parameter support to pass the serviceID in resource key