Terraform module to build ApsaraDB for ClickHouse Enterprise Edition for Alibaba Cloud
English | 简体中文
This module is used to create ApsaraDB for ClickHouse Enterprise Edition resources on Alibaba Cloud.
create a clickhouse enterprise edition cluster.
module "complete" {
source = "alibabacloud-automation/enterprise-clickhouse/alicloud"
#alicloud_click_house_enterprise_db_cluster
create_cluster = true
scale_max = "16"
scale_min = "8"
vswitch_id = "vsw-test"
vpc_id = "vpc-test"
zone_id = "zone-id-test"
multi_zones = []
#alicloud_click_house_enterprise_db_cluster_account
account_list = [
{
account = "testaccount1"
account_description = "testaccountdesc1"
account_type = "NormalAccount"
password = "Tf-testpwd"
dml_auth_setting = {
allow_databases = []
allow_dictionaries = []
ddl_authority = true
dml_authority = "0"
}
}
]
#alicloud_click_house_enterprise_db_cluster_backup_policy
preferred_backup_period = "Monday"
preferred_backup_time = "04:00Z-05:00Z"
backup_retention_period = "7"
#alicloud_click_house_enterprise_db_cluster_security_ip
security_ip_group_list = [
{
group = "testgroup1"
security_ip_list = "127.0.0.1"
}
]
}| Name | Version |
|---|---|
| terraform | >= 1.3 |
| Name | Version |
|---|---|
| alicloud | n/a |
No modules.
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| account_list | The account info list for creating several accounts | list(object({ |
[] |
no |
| backup_retention_period | Backup retention time. | string |
"7" |
no |
| create_backup_policy | Controls if backup policy should be created | bool |
true |
no |
| create_cluster | Controls if clickhouse cluster should be created | bool |
true |
no |
| db_cluster_id | The db cluster id. If create_cluster is set to false, db_cluster_id must be set to be the id of an existing cluster. |
string |
null |
no |
| multi_zones | (Optional) The zone IDs and corresponding vswitch IDs of multi-zone setup. | list(object({ |
[] |
no |
| preferred_backup_period | Preferred backup period. | string |
"Monday" |
no |
| preferred_backup_time | Preferred backup time. | string |
"04:00Z-05:00Z" |
no |
| scale_max | The maximum value of serverless auto scaling. | string |
"16" |
no |
| scale_min | The minimum value of serverless auto scaling. | string |
"8" |
no |
| security_ip_group_list | The info list for creating several security ip groups | list(object({ |
[] |
no |
| vpc_id | The VPC ID. | string |
null |
no |
| vswitch_id | The vSwitch ID. | string |
null |
no |
| zone_id | The zone ID of EnterpriseDBCluster. | string |
null |
no |
| Name | Description |
|---|---|
| click_house_enterprise_db_cluster_account_ids | The ids of clickhouse cluster enterprise edition accounts. |
| click_house_enterprise_db_cluster_backup_policy_id | The id of clickhouse cluster enterprise edition backup policy. |
| click_house_enterprise_db_cluster_id | The id of clickhouse cluster enterprise edition. |
| click_house_enterprise_db_cluster_security_ip_ids | The ids of clickhouse cluster enterprise edition security ip groups. |
| click_house_enterprise_db_cluster_status | The status of db cluster enterprise edition. |
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(terraform@alibabacloud.com).
MIT Licensed. See LICENSE for full details.