This repository has been archived on 2022-02-19. You can view files and clone it, but cannot push or open issues or pull requests.
infra-aws-eks/eks/variables.tf

34 lines
683 B
Terraform
Raw Normal View History

2022-02-11 14:42:37 +01:00
variable "aws_profile" {
type = string
default = "aws-infra"
}
variable "aws_region" {
type = string
default = "eu-west-3"
}
variable "environment" {
type = string
default = "prod"
}
# AZ can be seen using: aws ec2 describe-availability-zones --region eu-west-3
variable "vpc_subnets" {
type = map(object({
cidr_block = string
availability_zone = string
}))
default = {
"alpha" = {
cidr_block = "10.0.1.0/24"
availability_zone = "eu-west-3b"
}
"beta" = {
cidr_block = "10.0.2.0/24"
availability_zone = "eu-west-3c"
}
}
}