-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
98 lines (78 loc) · 1.81 KB
/
variables.tf
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
////////////////////////////////
// AWS Connection
variable "aws_profile" {
default = "default"
}
variable "aws_region" {
default = "us-east-1"
}
variable "aws_key_pair_name" {}
////////////////////////////////
// VPC Settings
variable "vpc_name" {
description = "Name of VPC"
type = string
default = "cloudplayground-vpc"
}
variable "vpc_cidr" {
description = "CIDR block for VPC"
type = string
default = "10.0.0.0/16"
}
variable "vpc_private_subnets" {
description = "Private subnets for VPC"
type = list(string)
default = ["10.0.1.0/24", "10.0.2.0/24"]
}
variable "vpc_public_subnets" {
description = "Public subnets for VPC"
type = list(string)
default = ["10.0.101.0/24", "10.0.102.0/24"]
}
variable "vpc_enable_nat_gateway" {
description = "Enable NAT gateway for VPC"
type = bool
default = true
}
variable "vpc_tags" {
description = "Tags to apply to resources created by VPC module"
type = map(string)
default = {
Terraform = "true"
Environment = "cloudplayground-vpc"
}
}
variable "cloudplayground_region" {
default = "us-east-1"
}
////////////////////////////////
// EC2 Settings
variable "ec2_tags" {
description = "Tags to apply to resources created by EC2 module"
type = map(string)
default = {
Terraform = "true"
Environment = "cloudplayground-vpc"
}
}
variable "amazon2_instance_count" {
default = "0"
}
variable "ubuntu2004_instance_count" {
default = "0"
}
variable "linux_instance_type" {
default = "t2.micro"
}
variable "linux_instance_flavor" {
default = "amazon2"
}
variable "winserver2019_instance_type" {
default = "t2.micro"
}
variable "winserver2019_instance_count" {
default = "0"
}
variable "windows_admin_password" {
default = "cloudplayground1"
}