mirror of
https://github.com/optim-enterprises-bv/terraform-talos.git
synced 2025-10-29 17:42:47 +00:00
41 lines
892 B
HCL
41 lines
892 B
HCL
|
|
variable "compartment_ocid" {
|
|
description = "The OCID of the compartment"
|
|
type = string
|
|
default = "ocid1.compartment.oc1.."
|
|
}
|
|
variable "tenancy_ocid" {
|
|
description = "The OCID of the tenancy"
|
|
type = string
|
|
default = "ocid1.tenancy.oc1.."
|
|
}
|
|
variable "user_ocid" {}
|
|
variable "fingerprint" {}
|
|
variable "key_file" {
|
|
default = "~/.oci/oci_main_terraform.pem"
|
|
}
|
|
|
|
data "terraform_remote_state" "init" {
|
|
backend = "local"
|
|
config = {
|
|
path = "${path.module}/../prepare/terraform.tfstate"
|
|
}
|
|
}
|
|
|
|
locals {
|
|
region = data.terraform_remote_state.init.outputs.region
|
|
tags = data.terraform_remote_state.init.outputs.tags
|
|
}
|
|
|
|
variable "release" {
|
|
description = "The image name"
|
|
type = string
|
|
default = "1.8.2"
|
|
}
|
|
|
|
variable "arch" {
|
|
description = "The Talos architecture list"
|
|
type = list(string)
|
|
default = ["amd64", "arm64"]
|
|
}
|