network_id"` SubnetID types.String `tfsdk:"subnet_id"` IsAuditLog types.String `tfsdk:"is_audit_log"` Status types.String `tfsdk:"status"` CTime types.String `tfsdk:"ctime"` VipData types.List `tfsdk:"vip_data"` MasterNum types.List `...
type = list(string) default = ["vpc_demo1", "vpc_demo2"] } variable "cidr_list" { type = list(string) default = ["192.168.0.0/16", "172.16.0.0/16"] } resource "huaweicloud_vpc" "vpcs" { count = 2 name = var.name_list[count.index] cidr = var.cidr_list[count.index] } ...
Terraform 数据类型分为 原始类型(string、number、bool) 与 复杂类型(list()、map()、set()、object、tuple),支持自定义输入变量variable、本地变量locals、输出变量output,以块的型式组织成.tf文件。 HCL是一个用于创建结构化配置语言的工具包,主要针对DevOps工具、服务器等。 HCL既有一种原生语法,旨在让人类愉快...
{ description = "List of repository IDs created" value = module.cr.repository_ids } output "disposable_password" { description = "Password to activate the console login profile, forces to reset it" value = module.cr.disposable_password } output "access_key_status" { description = "Status ...
另外权限资源的注解名称,可以通过获取swagger的注解来获取...,表明了一个名字叫“新增角色”的权限资源,资源编码CODE为ys:org:sysAuthRole:add 实现权限资源的导入功能代码如下: @Autowired private RequestMappingHandlerMapping...baseService.insertBatch(resourceList); } 至此,结合swagger,实现shiro权限资源的导入功能已...
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...
variable "cluster_addons" { type = list(object({ name = string config = string })) default = [ { "name" = "terway-eniip", "config" = "", }, { "name" = "logtail-ds", "config" = "{\"IngressDashboardEnabled\":\"true\"}", }, { "name" = "nginx-i...
{"StringEquals":{"ram:ServiceName":["backupencryption.rds.aliyuncs.com"] } } }, {"Effect":"Allow","Action":"bss:ModifyAgreementRecord","Resource":"*"}, {"Effect":"Allow","Action":["bss:DescribeOrderList","bss:DescribeOrderDetail","bss:PayOrder","bss:CancelOrder"],"Resource":"*"...
azurerm_mongo_cluster - add support for the connection_strings attribute (#28880) azurerm_storage_account - now gets the parent account directly rather than searching the list of all accounts when the Resource Manager ID is available (#28617) azurerm_storage_account_queue_properties - now gets...
variable "subnet_names" { type = list(string) default = ["subnet1", "subnet2", "subnet3"] } variable "vpc_id" { type = string default = "vpc-12345678" } resource "aws_subnet" "subnet" { count = length(var.subnet_names) vpc_id = var.vpc_id cidr_block = "10.0.${count.index...