Files
smom-dbis-138/terraform/multi-cloud/modules/aws/variables.tf

51 lines
1.1 KiB
Terraform
Raw Normal View History

# Variables for AWS Module
variable "environment_config" {
description = "Environment configuration from environments.yaml"
type = object({
name = string
role = string
provider = string
type = string
region = string
location = string
enabled = bool
components = list(string)
infrastructure = object({
kubernetes = object({
provider = string
version = string
node_pools = map(object({
count = number
instance_type = string
}))
})
networking = object({
vpc_cidr = string
subnets = list(object({
name = string
cidr = string
availability_zone = optional(string)
}))
})
})
aws = object({
account_id = string
region = string
vpc_id = string
})
})
}
variable "environment" {
description = "Environment name"
type = string
}
variable "tags" {
description = "Tags to apply to resources"
type = map(string)
default = {}
}