Closed powellquiring closed 6 months ago
@powellquiring I would suggest using https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/resource_instance to access that in the meantime. We are looking into this.
Good point:
/*
resource "ibm_pi_workspace" "location" {
pi_name = local.name
pi_datacenter = local.datacenter
pi_resource_group_id = local.resource_group_id
# pi_plan = "power-virtual-server-group"
pi_plan = "public"
}
*/
resource "ibm_resource_instance" "location" {
name = local.name
resource_group_id = local.resource_group_id
location = local.datacenter
service = "power-iaas"
plan = "power-virtual-server-group"
}
ibm_pi_workspace.crn
is available to use now.
Community Note
Description
Add crn return attribute to ibm_pi_workspace. The crn is required to work with a transit gateway.
New or Affected Resource(s)
Potential Terraform Configuration
https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/pi_workspace
Specifies the attributes containing just the id:
The crn of the workspace is needed for a transit gateway connection: