Skip to content

201-use-case-create-pai-workspace #318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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 = "test_terraform_workspace"
workspace_name = "test_terraform_workspace"
display_name = "test_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