46 lines
596 B
HCL
46 lines
596 B
HCL
variable "ami_name" {
|
|
description = "ami name"
|
|
type = string
|
|
}
|
|
|
|
variable "instance_type" {
|
|
type = string
|
|
}
|
|
|
|
variable "tag_name" {
|
|
type = string
|
|
}
|
|
|
|
variable "public_ip_associate" {
|
|
type = bool
|
|
}
|
|
variable "key_name" {
|
|
type = string
|
|
}
|
|
# variable "subnet_id" {
|
|
# type = string
|
|
# }
|
|
|
|
variable "public_subnet" {
|
|
type = string
|
|
}
|
|
|
|
variable "private_subnet" {
|
|
type = string
|
|
}
|
|
|
|
variable "sg_list" {
|
|
description = "sg list"
|
|
type = list(string)
|
|
|
|
}
|
|
|
|
variable "user_data_file" {
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
# variable "user_data" {
|
|
# type = string
|
|
# default = null
|
|
# } |