46 lines
913 B
Terraform
46 lines
913 B
Terraform
|
|
# Variables for Azure Arc Module
|
||
|
|
|
||
|
|
variable "clusters" {
|
||
|
|
description = "Map of clusters to onboard to Azure Arc"
|
||
|
|
type = map(object({
|
||
|
|
name = string
|
||
|
|
provider = string
|
||
|
|
region = string
|
||
|
|
kubeconfig = string
|
||
|
|
}))
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "azure_subscription_id" {
|
||
|
|
description = "Azure subscription ID"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "azure_tenant_id" {
|
||
|
|
description = "Azure tenant ID"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "resource_group_name" {
|
||
|
|
description = "Resource group name for Arc resources"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "location" {
|
||
|
|
description = "Azure region for Arc resources"
|
||
|
|
type = string
|
||
|
|
default = "westus"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "enable_gitops" {
|
||
|
|
description = "Enable GitOps extension for Arc clusters"
|
||
|
|
type = bool
|
||
|
|
default = false
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "tags" {
|
||
|
|
description = "Tags to apply to resources"
|
||
|
|
type = map(string)
|
||
|
|
default = {}
|
||
|
|
}
|
||
|
|
|