-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
37 lines (32 loc) · 889 Bytes
/
variables.tf
File metadata and controls
37 lines (32 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
variable "aws_region" {
description = "Región AWS para desplegar"
type = string
default = "us-east-1"
}
variable "vpc_cidr" {
description = "CIDR para la VPC"
type = string
default = "10.212.0.0/16"
}
variable "azs" {
description = "AZs a usar"
type = list(string)
default = ["us-east-1a", "us-east-1b"]
}
variable "subnet_cidrs" {
description = "Listas de bloques CIDR para subnets (públicas y privadas)"
type = map(list(string))
default = {
public = ["10.212.1.0/24", "10.212.2.0/24"]
private = ["10.212.10.0/24", "10.212.11.0/24", "10.212.20.0/24", "10.212.21.0/24"]
}
}
variable "bastion_cidr" {
description = "Rango CIDR de tu IP pública para SSH"
type = string
}
variable "ec2_ami" {
description = "AMI ID para Amazon Linux 2023"
type = string
default = "ami-09e6f87a47903347c"
}