Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
## Introduction

<!-- DOCS_DESCRIPTION_CN -->
本示例用于在阿里云上新建PAI工作空间。
本示例来自[新建PAI工作空间](https://help.aliyun.com/document_detail/2868104.html)。
<!-- DOCS_DESCRIPTION_CN -->

<!-- DOCS_DESCRIPTION_EN -->
This example is used to create PAI workspace on Alibaba Cloud.
This example is from [Create PAI Workspace](https://help.aliyun.com/document_detail/2868104.html).
<!-- DOCS_DESCRIPTION_EN -->

<!-- BEGIN_TF_DOCS -->
## Providers

| Name | Version |
|------|---------|
| <a name="provider_alicloud"></a> [alicloud](#provider\_alicloud) | n/a |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [alicloud_pai_workspace_workspace.default](https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/pai_workspace_workspace) | resource |

## Inputs

No inputs.
<!-- END_TF_DOCS -->

## Documentation
<!-- docs-link -->

The template is based on Aliyun document: [Create PAI Workspace](https://help.aliyun.com/document_detail/2868104.html)

<!-- docs-link -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
resource "alicloud_pai_workspace_workspace" "default" {
description = "example_terraform_workspace"
workspace_name = "example_terraform_workspace"
display_name = "example_terraform_workspace"
env_types = ["prod"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
terraform {
required_providers {
alicloud = {
source = "aliyun/alicloud"
}
}
}
Loading