terraform.aws-baseline-infra/modules/compute/ec2/variable.tf

35 lines
694 B
Terraform
Raw Normal View History

variable "instance-type" {}
variable "ami-id" {}
variable "asso-public-ip" {}
2022-09-05 18:32:37 +08:00
// variable az {}
variable "instance-profile" {
type = string
2022-09-05 18:32:37 +08:00
default = ""
}
variable "key-name" {}
variable "ebs-encrypted" {}
variable "root-volume-size" {}
variable "root-volume-type" {
type = string
2022-09-05 18:32:37 +08:00
default = "gp3"
}
variable "kms-key-id" {}
variable "delete-on-termination" {
type = bool
default = true
2022-09-05 18:32:37 +08:00
}
variable "subnet-id" {}
variable "security-groups" {
type = list(any)
}
variable "instance-name" {}
variable "additional_tags" {}
variable "asso-eip" {
2022-09-05 18:32:37 +08:00
type = bool
}
variable "default-tags" {}
variable "data-volumes" {}
variable "private-ip" {
type = string
default = null
}