File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ variable "aws_region" {
2+ description = " AWS region"
3+ type = string
4+ default = " us-east-1"
5+ }
6+
7+ variable "project_name" {
8+ description = " Project name for resource naming"
9+ type = string
10+ default = " api-server"
11+ }
12+
13+ variable "ami_id" {
14+ description = " Ubuntu AMI ID"
15+ type = string
16+ default = " ami-020cba7c55df1f615"
17+ }
18+
19+ variable "instance_type" {
20+ description = " EC2 instance type"
21+ type = string
22+ default = " t3.xlarge"
23+ }
24+
25+ variable "key_name" {
26+ description = " Key pair name"
27+ type = string
28+ default = " api-server"
29+ }
30+
31+ variable "vpc_cidr" {
32+ description = " VPC CIDR block"
33+ type = string
34+ default = " 10.0.0.0/16"
35+ }
36+
37+ variable "public_subnet_cidr" {
38+ description = " Public subnet CIDR block"
39+ type = string
40+ default = " 10.0.1.0/24"
41+ }
42+
43+ variable "availability_zone" {
44+ description = " Availability zone"
45+ type = string
46+ default = " us-east-1a"
47+ }
You can’t perform that action at this time.
0 commit comments