Terraform支持许多类型约束,包括string、number、bool、list、map、set、object、tuple和any。如果未指定类型,那么Terraform会设置默认约束类型为any。 还可以使用类型约束创建更复杂的对象和元组结构类型。 也可以通过环境变量来设置输入变量初始值。命名规范是TF_VAR_,其中是你要设置的输入变量的名称。
后端php服务基础镜像基于https://github.com/richarvey/nginx-php-fpm构建,对日志进行了json格式化,安装...
# Create Private subnet for RDS resource "aws_subnet" "prod-subnet-private-1" { vpc_id = aws_vpc. cidr_block = var.subnet2_cidr map_public_ip_on_launch = "false" //it makes private subnet availability_zone = var.AZ2 } # Create second Private subnet for RDS resource "aws_subnet" ...
{ "Version": "1", "Statement": [ { "Action": [ "ram:CreateServiceLinkedRole", "ram:DeleteServiceLinkedRole", "ram:GetRole", "ram:ListRoles", "ram:AttachPolicyToRole", "ram:ListPoliciesForRole", "ram:CreateRole", "ram:DetachPolicyFromRole", "ram:DeleteRole", "rds:CreateServiceLink...
configA map of stringK/V attributes You can import topics with the following terraform import kafka_topic.logs systemd_logs kafka_acl A resource for managing Kafka ACLs. Example PropertyDescriptionValid values acl_principalPrincipal that is being allowed or denied* ...
sticky_session_config - (Optional, Computed, List) The configuration of health checks See sticky_session_config below. tags - (Optional, Map) The creation time of the resource uch_config - (Optional, List, Available since v1.242.0) Url consistency hash parameter configuration See uch_config ...
additional_policy_arnsList of policy ARNs to attach to EMR EC2 instance profile.list(string)[]no additional_tags[DEPRECATED: Usetagsinstead] Additional tags to be attached to the resources created.map(string){}no arn_partitionThe partition in which the resource is located. A partition is a gro...
Since the for_each argument accepts any list or map expression, this feature can be combined with for expressions as described above to create nested blocks based on arbitrary transformations of other list and map values: # Configuration for Terraform v0.12 ...
description = "An example of a list in Terraform" type = "list" default = [1, 2, 3] } # 字典的例子 variable "map_example" { description = "An example of a map in Terraform" type = "map" default = { key1 = "value1"
improve(db_instances):update tags type from string to map (#1802) improve(instance): field 'user_data' supported update (#1798) add doc of cloud_connect_network (#1791) improve(slb): updated slb attachment testcase. (#1758) BUG FIXES: fix(tag): fix api gw, gpdb, kvstore datasource...