Commit 1bd99585 authored by huyang's avatar huyang
Browse files

commit

Showing with 66 additions and 0 deletions
+66 -0
variable "availability_zone" {
description = "可用区"
type = string
default = "cn-hangzhou-h"
}
variable "instance_number" {
description = "需创建的ECS实例数量"
type = number
default = 1
}
variable "instance_type" {
description = "实例类型"
type = string
default = "ecs.s6-c1m1.small"
}
variable "system_disk_category" {
description = "系统盘类型"
type = string
default = "cloud_efficiency"
}
variable "system_disk_size" {
description = "系统盘大小,取值:20-500 GB"
type = number
default = 20
}
variable "password" {
description = "管理密码,大写字母、小写字母、数据、特殊符号至少包含三种,长度8-32"
type = string
sensitive = true
default = "Passw0rd@"
}
variable "image_id" {
description = "操作系统镜像"
type = string
default = "ubuntu_18_04_64_20G_alibase_20190624.vhd"
}
variable "instance_name" {
description = "ECS实例名称"
type = string
default = "ecs-cpg-instance"
}
variable "bandwidth_out" {
description = "公网出口带宽,设置为0时不分配公网IP"
type = number
default = 10
}
variable "charge_type" {
description = "计费方式,取值:PrePaid=包年包月,PostPaid=按需"
type = string
default = "PostPaid"
}
variable "spot_strategy" {
description = "The spot strategy of a Pay-As-You-Go instance"
type = string
default = "SpotAsPriceGo"
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment