44 lines
788 B
Terraform
44 lines
788 B
Terraform
![]() |
variable "access_key" {
|
||
|
}
|
||
|
|
||
|
variable "secret_key" {
|
||
|
}
|
||
|
|
||
|
variable "region" {
|
||
|
default = "us-west-2"
|
||
|
}
|
||
|
|
||
|
variable "cidr_vpc" {
|
||
|
description = "CIDR block for the VPC"
|
||
|
default = "10.4.0.0/16"
|
||
|
}
|
||
|
|
||
|
variable "cidr_subnet" {
|
||
|
description = "CIDR block for the subnet"
|
||
|
default = "10.4.0.0/24"
|
||
|
}
|
||
|
|
||
|
variable "availability_zone" {
|
||
|
description = "availability zone to create subnet"
|
||
|
default = "us-west-2a"
|
||
|
}
|
||
|
|
||
|
variable "ssh_key_path" {
|
||
|
description = "Path to the SSH key"
|
||
|
default = "~/.ssh/id_rsa"
|
||
|
}
|
||
|
|
||
|
variable "ssh_public_key_path" {
|
||
|
description = "Path to the public SSH key"
|
||
|
default = "~/.ssh/id_rsa.pub"
|
||
|
}
|
||
|
|
||
|
variable "instance_type" {
|
||
|
description = "EC2 instance"
|
||
|
default = "m5.16xlarge"
|
||
|
}
|
||
|
|
||
|
variable "project_tag" {
|
||
|
default = "kubernetes/ingress-nginx"
|
||
|
}
|