如果C为list(string):Json、CommaDelimitedList、String、ALIYUN::OOS::Parameter::Value或ALIYUN::OOS::SecretParameter::Value。 如果C为其他类型:Json、String、ALIYUN::OOS::Parameter::Value或ALIYUN::OOS::SecretParameter::Value。 string String、ALIYUN::OOS::Parameter::Value或ALIYUN::OOS::SecretParame...
variable "vswitch_ids" { description = "List of existing vswitch id." type = list(string) default = [] } variable "vswitch_cidrs" { description = "List of cidr blocks used to create several new vswitches when 'vswitch_ids' is not specified." type = list(string) default = ["10.1....
type = string description = "The id of VPC" } variable "subnet_ids" { type = list(string) description = "List of subnets sorted by availability zone in your VPC" } variable "security_groups" { type = list(string) default = [] description = "List of the Security Group, it must be...
type = string } variable "availability_zone_names" { type = list(string) default = ["us-west-1a"] } variable "docker_ports" { type = list(object({ internal = number external = number protocol = string })) default = [ { internal = 8300 external = 8300 protocol = "tcp" } ] } ...
由于腾讯云的 Bucket 名称中包含了使用者的 APP ID,所以这里还使用了 tencentcloud_user_info data 块,用来获取当前用户的 APP ID,同时为了避免 Bucket 名称重复,这里使用了 random_string resource 块用来生成一个随机数。 最后,就可以执行这些代码了。
type = string default = "centos7" } variable "availability_zone_names" { type = list(string) default = ["us-west-1a"]} variable "docker_ports" { type = list(object({ internal = number external = number protocol = string }))
RequiresReplace(), }, }, "network_id": schema.StringAttribute{ Description: "The network id of the mysql instance", Required: true, }, "vip_data": schema.ListNestedAttribute{ Description: "The vip data of the mysql instance", Computed: true, NestedObje...
由于腾讯云的 Bucket 名称中包含了使用者的 APP ID,所以这里还使用了 tencentcloud_user_info data 块,用来获取当前用户的 APP ID,同时为了避免 Bucket 名称重复,这里使用了 random_string resource 块用来生成一个随机数。 最后,就可以执行这些代码了。
type=string ttl=number records=list(string)}))} DNS 只是一个简单的示例,但仍有更多机会利用供应商之间的通用元素。 一个更复杂的例子是部署Kubernetes集群,现在有许多不同的供应商提供托管的 Kubernetes 集群服务,甚至还有更多运行 Kubernetes 的方法。
type = string description = "The name of the route table. Changing this forces a new route table association to be created." default = null } 假如我们的 Terraform 代码中依赖该参数来判断是否创建某种资源,例如: resource "azurerm_route_table" "this" { ...