Last active
June 7, 2022 11:39
-
-
Save a-patel/6281a8ad7ff3ae67841e086b9e247e77 to your computer and use it in GitHub Desktop.
Amazon EKS Terraform Workshop: Variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "aws_access_key" { | |
description = "AWS access key" | |
type = string | |
} | |
variable "aws_secret_key" { | |
description = "AWS secret key" | |
type = string | |
} | |
variable "region" { | |
description = "The aws region. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html" | |
type = string | |
default = "us-east-1" | |
} | |
variable "availability_zones_count" { | |
description = "The number of AZs." | |
type = number | |
default = 2 | |
} | |
variable "project" { | |
description = "Name to be used on all the resources as identifier. e.g. Project name, Application name" | |
# description = "Name of the project deployment." | |
type = string | |
} | |
variable "vpc_cidr" { | |
description = "The CIDR block for the VPC. Default value is a valid CIDR, but not acceptable by AWS and should be overridden" | |
type = string | |
default = "10.0.0.0/16" | |
} | |
variable "subnet_cidr_bits" { | |
description = "The number of subnet bits for the CIDR. For example, specifying a value 8 for this parameter will create a CIDR with a mask of /24." | |
type = number | |
default = 8 | |
} | |
variable "tags" { | |
description = "A map of tags to add to all resources" | |
type = map(string) | |
default = { | |
"Project" = "TerraformEKSWorkshop" | |
"Environment" = "Development" | |
"Owner" = "Ashish Patel" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment