Skip to content

Commit 14ed8aa

Browse files
committed
201-use-case-create-pai-workspace
1 parent 0106d7e commit 14ed8aa

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## Introduction
2+
3+
<!-- DOCS_DESCRIPTION_CN -->
4+
本示例用于在阿里云上新建PAI工作空间。
5+
本示例来自[新建PAI工作空间](https://help.aliyun.com/document_detail/2868104.html)
6+
<!-- DOCS_DESCRIPTION_CN -->
7+
8+
<!-- DOCS_DESCRIPTION_EN -->
9+
This example is used to create PAI workspace on Alibaba Cloud.
10+
This example is from [Create PAI Workspace](https://help.aliyun.com/document_detail/2868104.html).
11+
<!-- DOCS_DESCRIPTION_EN -->
12+
13+
<!-- BEGIN_TF_DOCS -->
14+
## Providers
15+
16+
| Name | Version |
17+
|------|---------|
18+
| <a name="provider_alicloud"></a> [alicloud](#provider\_alicloud) | n/a |
19+
20+
## Modules
21+
22+
No modules.
23+
24+
## Resources
25+
26+
| Name | Type |
27+
|------|------|
28+
| [alicloud_pai_workspace_workspace.default](https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/pai_workspace_workspace) | resource |
29+
30+
## Inputs
31+
32+
No inputs.
33+
<!-- END_TF_DOCS -->
34+
35+
## Documentation
36+
<!-- docs-link -->
37+
38+
The template is based on Aliyun document: [Create PAI Workspace](https://help.aliyun.com/document_detail/2868104.html)
39+
40+
<!-- docs-link -->
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
resource "alicloud_pai_workspace_workspace" "default" {
2+
description = "example_terraform_workspace"
3+
workspace_name = "example_terraform_workspace"
4+
display_name = "example_terraform_workspace"
5+
env_types = ["prod"]
6+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
terraform {
2+
required_providers {
3+
alicloud = {
4+
source = "aliyun/alicloud"
5+
}
6+
}
7+
}

0 commit comments

Comments
 (0)