描述
数据仓库账户,了解 账户与授权
示例
resource "tencentcloud_clickhouse_account" "account" {instance_id = "cdwch-xxxxxx"user_name = "test"password = "xxxxxx"describe = "xxxxxx"}
参数说明
类型 | 名称 | 数据类型 | 说明 |
必填 | region | string | 地域,如:ap-guangzhou,默认使用 provider 中定义的 region
也可以在 resource 中指定地域,覆盖默认设置 |
必填 | instance_id | string | 集群实例id
示例值:cdwch-xxxx |
必填 | password | string | base64加密后的密码
示例值:cGFzc3dvcmsK |
必填 | user_name | string | 用户名
示例值:test_user |
可选 | availability_zone | string | 可用区 |
可选 | count | int | 资源数量,默认为 1
如果为 0 则不创建资源 |
可选 | activity_id | int | 计费活动 ID,保留字段 |
可选 | describe | string | 描述
示例值:测试账号 |
生成 | id | string | 资源实例 ID |
生成 | create_time | string | 资源创建时间 |