variable "compartment_id" { description = "OCI Compartment OCID" type = string } variable "availability_domain" { description = "Availability Domain for resources" type = string } variable "image_id" { description = "OCID of the OS image to use for instances" type = string } variable "ssh_public_key" { description = "SSH Public Key for instance access" type = string } variable "a1_shape" { description = "Shape for the A1 instance" type = string default = "VM.Standard.A1.Flex" # 最新的 ARM 架构实例类型 } variable "a1_storage_size_gb" { description = "Storage size in GB for A1 instance" type = number default = 200 # 更大的存储空间 } variable "small_instances_to_remove" { description = "List of small instance names to remove" type = list(string) default = ["small-instance-1", "small-instance-2"] # 要删除的小实例 }