Commit 35da6bf3 authored by admin's avatar admin
Browse files

环境代码变更

parent a963a0e9
Showing with 47 additions and 46 deletions
+47 -46
variable "region" {
type = string
description = "地域"
default = "cn-hangzhou"
nullable = false
variable "region"{
type = string
description = "地域"
default = "cn-hangzhou"
nullable = false
}
variable "vpc_id" {
type = string
description = "专有网络VPC"
default = null
variable "vpc_id"{
type = string
description = "专有网络VPC"
default = null
}
variable "vswitch_id" {
type = string
description = "交换机VSwitch"
default = null
variable "vswitch_id"{
type = string
description = "交换机VSwitch"
default = null
}
variable "security_group_id" {
type = string
description = "安全组SecurityGroup"
default = null
variable "security_group_id"{
type = string
description = "安全组SecurityGroup"
default = null
}
variable "cpu_core_count" {
type = number
description = "CPU核心数"
default = 2
variable "cpu_core_count"{
type = number
description = "CPU核心数"
default = 2
}
variable "memory_size" {
type = number
description = "内存大小"
default = 4
variable "memory_size"{
type = number
description = "内存大小"
default = 4
}
variable "instance_name" {
type = string
description = "实例名称"
default = null
variable "instance_name"{
type = string
description = "实例名称"
default = null
}
variable "key_pair_name" {
type = string
description = "密钥对名称"
default = "ydd-cpg"
variable "key_pair_name"{
type = string
description = "密钥对名称"
default = "ydd-cpg"
}
variable "system_disk_category" {
type = string
description = "系统盘类型"
default = "cloud_efficiency"
variable "system_disk_category"{
type = string
description = "系统盘类型"
default = "cloud_efficiency"
}
variable "system_disk_size" {
type = number
description = "系统盘大小"
default = 50
variable "system_disk_size"{
type = number
description = "系统盘大小"
default = 50
}
variable "instance_tags"{
type = map(string)
description = "实例标签"
default = {}
}
variable "instance_tags" {
type = map(string)
description = "实例标签"
default = {}
}
\ No newline at end of file
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