-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
35 lines (30 loc) · 772 Bytes
/
variables.tf
File metadata and controls
35 lines (30 loc) · 772 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
variable "aws_region" {
description = "AWS region to use"
type = string
default = "ap-south-1"
}
variable "vpc_name" {
description = "Name of the VPC"
type = string
default = "setu-yuvraj"
}
variable "vpc_cidr" {
description = "CIDR block for the VPC"
type = string
default = "10.0.0.0/16"
}
variable "public_subnet_cidrs" {
description = "CIDR blocks for public subnets"
type = list(string)
default = ["10.0.1.0/24","10.0.2.0/24"]
}
variable "private_subnet_cidrs" {
description = "CIDR blocks for private subnets"
type = list(string)
default = ["10.0.4.0/24","10.0.5.0/24"]
}
variable "instance_type" {
description = "EC2 instance type"
type = string
default = "t2.micro"
}