# Oracle Cloud 提供商变量定义 variable "environment" { description = "环境名称" type = string } variable "project_name" { description = "项目名称" type = string } variable "owner" { description = "项目所有者" type = string } variable "vpc_cidr" { description = "VPC CIDR 块" type = string } variable "availability_zones" { description = "可用区列表" type = list(string) } variable "common_tags" { description = "通用标签" type = map(string) } variable "oci_config" { description = "Oracle Cloud 配置" type = object({ tenancy_ocid = string user_ocid = string fingerprint = string private_key = string region = string compartment_ocid = string }) } variable "instance_count" { description = "实例数量" type = number default = 1 } variable "instance_size" { description = "实例规格" type = string default = "VM.Standard.E2.1.Micro" }