{ service_name = "forum" owner = "Community" } 本地变量的表达式不仅限于字符和数值常量,还可以使用输入变量,资源属性和其他 本地变量的引用和表达式结果: locals { dns_list = concat(huaweicloud_vpc_subnet.subnet_1.dns_list, huaweicloud_vpc_subnet.subne
defaults.regex_replace_chars) # string_label_names are names of inputs that are strings (not list of strings) used as labels string_label_names = ["namespace", "tenant", "environment", "stage", "name"] normalized_labels = { for k in local.string_label_names : k => local.input[k...
问Terraform :模块输出EN简介 Terraform 的特点: Infrastructure as Code Execution Plans Resource Graph ...
concat: stitching, traversing each dataset sequentially. no_join: not merged, only the first dataset is taken. configuration-labels The configuration-labels supports the following: key - (Optional) Field name. value - (Optional) Field value. configuration-policy_configuration The configuration-policy_...
dns_list = concat(huaweicloud_vpc_subnet.subnet_1.dns_list, huaweicloud_vpc_subnet.subnet_2.dns_list) } locals { common_tags = { Service = local.service_name Owner = local.owner } } 引用本地变量 在声明本地变量后,可以通过 local.<变量名称> 对其进行引用。
type- (Optional) Collection operation type. The values are as follows: cross_join: Cartesian product. inner_join: inline. left_join: left joint. right_join: right link. full_join: full union. left_exclude: left repulsion. right_exclude: right repulsion. concat: stitching, traversing each dat...
The concat() interpolation function can no longer be used to join strings. Quotation marks may no longer be escaped in HIL expressions (#7201) Lists materialized using splat syntax, for example aws_instance.foo.*.id are now ordered by the count index rather than lexographically sorted. If ...
subnet_ids = concat(module.subnets.private_subnet_ids, module.subnets.public_subnet_ids) kubernetes_version = var.kubernetes_version oidc_provider_enabled = true addons = [ # https://docs.aws.amazon.com/eks/latest/userguide/managing-vpc-cni.html#vpc-cni-latest-available-version { @@ -226,...