Terraform Module for creating Elastic Desktop Service on Alibaba Cloud.
English | 简体ä¸ć–‡
This module is used to create a Elastic Desktop Service under Alibaba Cloud.
These types of resources are supported:
- alicloud_ecd_desktop
- alicloud_ecd_image
- alicloud_ecd_nas_file_system
- alicloud_ecd_network_package
- alicloud_ecd_policy_group
- alicloud_ecd_simple_office_site
- alicloud_ecd_user
module "default" {
source = "terraform-alicloud-modules/eds/alicloud"
bundle_id = "bundle_1234567xxx"
#alicloud_ecd_simple_office_site
create_office_site = true
office_site_name = "tf-name"
cidr_block = "172.16.0.0/12"
desktop_access_type = "Internet"
#alicloud_ecd_policy_group
create_policy_group = true
policy_group_name = "tf-name"
#alicloud_ecd_user
create_user = true
end_user_id = "tf-user-test"
user_email = "[email protected]"
user_phone = "15800000011"
#alicloud_ecd_desktop
create_desktop = true
desktop_name = "tf-name"
#alicloud_ecd_network_package
create_network_package = true
bandwidth = "10"
#alicloud_ecd_nas_file_system
create_nas_file_system = true
nas_file_system_name = "tf_nas_file_system_name"
create_image = true
image_name = "tf-name"
}
- This module using AccessKey and SecretKey are from
profile
andshared_credentials_file
. If you have not set them yet, please install aliyun-cli and configure it.
Name | Version |
---|---|
terraform | >=0.13 |
Name | Version |
---|---|
alicloud | n/a |
No modules.
Name | Type |
---|---|
alicloud_ecd_desktop.desktop | resource |
alicloud_ecd_image.image | resource |
alicloud_ecd_nas_file_system.nas_file_system | resource |
alicloud_ecd_network_package.network_package | resource |
alicloud_ecd_policy_group.policy_group | resource |
alicloud_ecd_simple_office_site.office_site | resource |
alicloud_ecd_user.user | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
amount | The amount of the Desktop. | number |
1 |
no |
authorize_access_policy_rules | The rule of authorize access rule. | map(string) |
{} |
no |
authorize_security_policy_rules | The policy rule. | map(string) |
{} |
no |
auto_pay | The auto-pay of the Desktop whether to pay automatically. values: true, false. | bool |
false |
no |
auto_renew | The auto-renewal of the Desktop whether to renew automatically. It takes effect only when the parameter ChargeType is set to PrePaid. values: true, false. | bool |
false |
no |
bandwidth | The bandwidth of package public network bandwidth peak. Valid values: 1~200. Unit:Mbps. | string |
null |
no |
bundle_id | The bundle id of the Desktop. | string |
null |
no |
cen_id | Cloud Enterprise Network Instance ID. | string |
null |
no |
cen_owner_id | The cen owner id. | number |
null |
no |
cidr_block | Workspace Corresponds to the Security Office Network of IPv4 Segment. | string |
null |
no |
create_desktop | Controls if ecd desktop should be created | bool |
false |
no |
create_image | Controls if ecd image should be created | bool |
false |
no |
create_nas_file_system | Controls if ecd nas file system should be created | bool |
false |
no |
create_network_package | Controls if ecd network package should be created | bool |
false |
no |
create_office_site | Controls if office site should be created | bool |
false |
no |
create_policy_group | Controls if ecd policy group should be created | bool |
false |
no |
create_user | Controls if ecd user should be created | bool |
false |
no |
desktop_access_type | Connect to the Cloud Desktop Allows the Use of the Access Mode of. Valid values: Any, Internet, VPC. | string |
"Internet" |
no |
desktop_id | The desktop id of the desktop.It will be ignored when create_desktop = true | string |
null |
no |
desktop_name | The desktop name of the Desktop. | string |
null |
no |
desktop_status | The status of the Desktop. Valid values: Deleted, Expired, Pending, Running, Starting, Stopped, Stopping. | string |
null |
no |
desktop_type | The desktop type of the Desktop. | string |
null |
no |
domain_list | The list of domain. | string |
null |
no |
enable_admin_access | Whether to Use Cloud Desktop User Empowerment of Local Administrator Permissions. | bool |
false |
no |
enable_cross_desktop_access | Enable Cross-Desktop Access. | bool |
false |
no |
end_user_id | The Username. The custom setting is composed of lowercase letters, numbers and underscores, and the length is 3~24 characters. | string |
null |
no |
host_name | The hostname of the Desktop. | string |
null |
no |
html_access | The access of html5. Valid values: off, on. | string |
"off" |
no |
html_file_transfer | The html5 file transfer. Valid values: all, download, off, upload. | string |
"off" |
no |
image_description | The description of the image. | string |
null |
no |
image_name | The name of the image. | string |
null |
no |
mfa_enabled | Whether to Enable Multi-Factor Authentication MFA. | bool |
false |
no |
mount_target_domain | The domain of mount target. | string |
null |
no |
nas_file_system_description | The description of nas file system. | string |
null |
no |
nas_file_system_name | The name of nas file system. | string |
null |
no |
office_site_id | The ID of the Simple Office Site. | string |
null |
no |
office_site_name | The office site name. | string |
null |
no |
payment_type | The payment type of the Desktop. Valid values: PayAsYouGo, Subscription. Default to PayAsYouGo. | string |
"PayAsYouGo" |
no |
period | The period of the Desktop. | number |
1 |
no |
period_unit | The period unit of the Desktop. | string |
"Month" |
no |
policy_clipboard | The clipboard policy. Valid values: off, read, readwrite. | string |
"off" |
no |
policy_group_id | The policy group id of the Desktop.It will be ignored when create_policy_group = true | string |
null |
no |
policy_group_name | The name of policy group. | string |
null |
no |
policy_local_drive | Local drive redirect policy. Valid values: readwrite, off, read. | string |
"off" |
no |
policy_usb_redirect | The usb redirect policy. Valid values: off, on. | string |
"off" |
no |
policy_watermark | The watermark policy. Valid values: off, on. | string |
"off" |
no |
reset | The mount point is in an inactive state, reset the mount point of the NAS file system. Default to false. | bool |
false |
no |
root_disk_size_gib | The root disk size gib of the Desktop. | number |
100 |
no |
sso_enabled | Whether to Enable Single Sign-on (SSO) for User-Based SSO. | bool |
false |
no |
stopped_mode | The stopped mode of the Desktop. | string |
"StopCharging" |
no |
tags | A mapping of tags to assign to the resource. | map(string) |
{} |
no |
user_assign_mode | The user assign mode of the Desktop. Valid values: ALL, PER_USER. Default to ALL. | string |
"ALL" |
no |
user_disk_size_gib | The user disk size gib of the Desktop. | number |
100 |
no |
user_email | The email of the user email. | string |
null |
no |
user_id | The desktop end user id of the Desktop.It will be ignored when create_user = true | string |
null |
no |
user_password | The password of the user password. | string |
null |
no |
user_phone | The phone of the mobile phone number. | string |
null |
no |
user_status | The status of the resource. Valid values: Unlocked, Locked. | string |
"Unlocked" |
no |
visual_quality | The quality of visual. Valid values: high, lossless, low, medium. | string |
"low" |
no |
watermark_transparency | The watermark transparency. Valid values: DARK, LIGHT, MIDDLE. | string |
null |
no |
watermark_type | The type of watemark. Valid values: EndUserId, HostName. | string |
null |
no |
Name | Description |
---|---|
desktop_bundle_id | The bundle id list of the Desktop. |
desktop_id | The resource ID in terraform of Desktop. |
image_id | The resource ID in terraform of Image. |
nas_file_system_id | The resource ID in terraform of Nas File System. |
network_package_id | The resource ID in terraform of Network Package. |
policy_group_id | The resource ID in terraform of Policy Group. |
simple_office_site_id | The resource ID in terraform of Simple Office Site. |
user_id | The resource ID in terraform of User. |
If you have any problems when using this module, please opening a provider issue and let us know.
Note: There does not recommend opening an issue on this repo.
Created and maintained by Alibaba Cloud Terraform Team([email protected]).
MIT Licensed. See LICENSE for full details.