feat: add cloudflare workers ai config and global credentials

This commit is contained in:
Ben User
2026-02-01 11:22:52 +00:00
parent 70f160b396
commit b9e7cccaaf
35 changed files with 1806 additions and 10 deletions

View File

@@ -0,0 +1,37 @@
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"] # 要删除的小实例
}