64 lines
1.1 KiB
HCL
64 lines
1.1 KiB
HCL
variable "compartment_id" {
|
|
description = "Compartment OCID."
|
|
type = string
|
|
}
|
|
|
|
variable "availability_domain" {
|
|
description = "Availability domain."
|
|
type = string
|
|
}
|
|
|
|
variable "display_name" {
|
|
description = "Instance display name."
|
|
type = string
|
|
}
|
|
|
|
variable "shape" {
|
|
description = "Compute shape."
|
|
type = string
|
|
}
|
|
|
|
variable "ocpus" {
|
|
description = "OCPUs for flexible shapes."
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
variable "memory_in_gbs" {
|
|
description = "Memory in GB for flexible shapes."
|
|
type = number
|
|
default = 8
|
|
}
|
|
|
|
variable "image_ocid" {
|
|
description = "Image OCID."
|
|
type = string
|
|
}
|
|
|
|
variable "subnet_id" {
|
|
description = "Subnet OCID."
|
|
type = string
|
|
}
|
|
|
|
variable "nsg_ids" {
|
|
description = "NSG OCIDs."
|
|
type = list(string)
|
|
}
|
|
|
|
variable "ssh_public_key" {
|
|
description = "SSH public key."
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "assign_public_ip" {
|
|
description = "Assign public IP to bastion."
|
|
type = bool
|
|
}
|
|
|
|
variable "freeform_tags" {
|
|
description = "Freeform tags."
|
|
type = map(string)
|
|
default = {}
|
|
}
|