alicloud_data_works_folder
更新时间:
Provides a Data Works Folder resource.
For information about Data Works Folder and how to use it, see What is Folder.
-> NOTE: Available in v1.131.0+.
Example Usage
Basic Usage
resource "alicloud_data_works_folder" "example" {
project_id = "320687"
folder_path = "Business Flow/tfTestAcc/folderDi/tftest1"
}
Argument Reference
The following arguments are supported:
folder_path
- (Required) Folder Path. The folder path composed with for part:Business Flow/{Business Flow Name}/[folderDi|folderMaxCompute|folderGeneral|folderJdbc|folderUserDefined]/{Directory Name}
. The first segment of path must beBusiness Flow
, and sencond segment of path must be a Business Flow Name within the project. The third part of path must be one of those keywords:folderDi|folderMaxCompute|folderGeneral|folderJdbc|folderUserDefined
. Then the finial part of folder path can be specified in yourself.project_id
- (Required, ForceNew, Available in v1.131.0+) The ID of the project.
Attributes Reference
The following attributes are exported:
id
- The resource ID of Folder. The value formats as<folder_id>:<$.ProjectId>
.
Import
Data Works Folder can be imported using the id, e.g.
$ terraform import alicloud_data_works_folder.example <folder_id>:<$.ProjectId>
文档内容是否对您有帮助?