modules/terraform/setup/infrastructure/variables.tf (77 lines of code) (raw):
variable "tags" {
description = "Tags to be applied to all resources"
type = map(string)
}
variable "resource_group_name" {
description = "Name of the resource group"
type = string
}
variable "storage_account_name" {
description = "Name of the storage account"
type = string
}
variable "kusto_cluster_name" {
description = "Name of the Kusto cluster"
type = string
}
variable "github_config" {
description = "Github configuration"
type = object({
service_connection_name = string
service_connection_description = string
})
}
variable "azure_config" {
description = "All the resources that are required for the infrastructure setup"
type = object({
service_connection_name = string
service_connection_description = string
subscription_id = optional(string, null)
resource_group = object({
location = string
})
storage_account = object({
account_tier = string
account_replication_type = string
shared_access_key_enabled = bool
})
kusto_cluster = object({
location = optional(string, null)
sku = object({
name = string
capacity = number
})
kusto_databases = list(object({
name = string
hot_cache_period = string
soft_delete_period = string
}))
})
})
}
variable "aws_config" {
description = "All the resources that are required for the infrastructure setup"
type = object({
region = string
user_name = string
policy_names = list(string)
service_connection_name = string
service_connection_description = string
})
}
variable "azuredevops_config" {
description = "All the resources that are required for the infrastructure setup"
type = object({
organization_name = string
project_name = string
variable_groups = optional(list(object({
name = string
description = string
allow_access = optional(bool, false)
variables = list(object({
name = string
value = string
}))
})))
})
}