35 lines
665 B
Terraform
35 lines
665 B
Terraform
![]() |
variable "aws_region" {
|
||
|
type = string
|
||
|
default = "us-east-2"
|
||
|
}
|
||
|
|
||
|
variable "jenkins_ip_cidr" {
|
||
|
description = "CIDR block for SSH access from Jenkins (injected by pipeline)"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "cluster_name" {
|
||
|
description = "Name of the ECS cluster"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "vpc_cidr" {
|
||
|
description = "VPC CIDR block"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "public_subnets" {
|
||
|
description = "Comma-separated public subnet CIDRs"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "instance_type" {
|
||
|
description = "EC2 instance type"
|
||
|
type = string
|
||
|
}
|
||
|
|
||
|
variable "key_pair_name" {
|
||
|
description = "EC2 Key Pair name"
|
||
|
type = string
|
||
|
}
|