Skip to content

Commit

Permalink
Add workspace documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ismirlia committed Nov 17, 2023
1 parent 154487f commit d40faaa
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions ibm/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,7 @@ func Provider() *schema.Provider {
"ibm_pi_placement_group": power.ResourceIBMPIPlacementGroup(),
"ibm_pi_spp_placement_group": power.ResourceIBMPISPPPlacementGroup(),
"ibm_pi_shared_processor_pool": power.ResourceIBMPISharedProcessorPool(),
"ibm_pi_workspace": power.ResourceIBMPIWorkspace(),

// Private DNS related resources
"ibm_dns_zone": dnsservices.ResourceIBMPrivateDNSZone(),
Expand Down
40 changes: 40 additions & 0 deletions website/docs/r/pi_workspace.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---

subcategory: "Power Systems"
layout: "ibm"
page_title: "IBM: pi_workspace"
description: |-
Manages a workspace in the Power Virtual Server cloud.
---

# ibm_pi_workspace

Create or Delete a PowerVS Workspace

## Example usage

```terraform
resource "ibm_pi_workspace" "powervs_service_instance" {
pi_name = "test-name"
pi_datacenter = "us-east"
pi_resource_group = "3498fj27dhdskslhfghlu3heuw"
pi_plan = "public"
}
```

## Notes

- Please find [supported Regions](https://cloud.ibm.com/apidocs/power-cloud#endpoint) for endpoints.
- If a Power cloud instance is provisioned at `lon04`, The provider level attributes should be as follows:
- `region` - `lon`
- `zone` - `lon04`

## Attribute reference

Review the argument references that you can specify for your resource.

- `id - (String) Workspace ID.
- `pi_name` - (Required, String) "The desired name of the workspace".
- `pi_datacenter` - (Required, String) "The datacenter location where the instance should be hosted"
- `pi_resource_group` - (Required, String) "The ID of the resource group"
- `pi_plan` - (Required, String) "Plan associated with the offering; Valid values are \"public\" or \"private\"."

0 comments on commit d40faaa

Please sign in to comment.