-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
111 lines (89 loc) · 2.03 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
99
100
101
102
103
104
105
106
107
108
109
110
111
## Input variable definitions
# AWS
variable "aws_region" {
description = "Region of AWS"
type = string
}
variable "aws_vpc_name" {
description = "Name of VPC"
type = string
}
variable "aws_vpc_cidr" {
description = "CIDR block for VPC"
type = string
default = "10.0.0.0/16"
}
variable "aws_subnet_cidr" {
description = "Subnet CIDR"
type = string
default = "10.0.1.0/24"
}
variable "aws_subnet_name" {
description = "Name of Subnet"
type = string
}
variable "aws_ec2_name" {
description = "Name of EC2"
type = string
}
variable "aws_ec2_instance_type" {
description = "Instance Type of EC2"
type = string
default = "t3.micro"
}
variable "aws_ec2_key_pair_name" {
description = "Key Pair Name for EC2"
type = string
}
# Azure
variable "azure_resource_group" {
description = "Name of Resource Group"
type = string
}
variable "azure_location" {
description = "Location of Resource Group"
type = string
}
variable "azure_vnet_name" {
description = "Name of VPC"
type = string
}
variable "azure_vnet_cidr" {
description = "CIDR block for VPC"
type = string
default = "10.0.0.0/16"
}
variable "azure_subnet_cidr" {
description = "Subnet CIDR"
type = string
default = "10.0.1.0/24"
}
variable "azure_subnet_name" {
description = "Name of Subnet"
type = string
}
variable "azure_instance_name" {
description = "Name of the Instance"
type = string
}
variable "azure_vm_size" {
description = "VM Size of the Instance"
type = string
default = "Standard_DS1_v2"
}
variable "azure_admin_username" {
description = "Admin Username for Instance"
type = string
}
variable "azure_admin_password" {
description = "Admin Password for Instance"
type = string
}
variable "vpc_tags" {
description = "Tags to apply to resources created by VPC module"
type = map(string)
default = {
Terraform = "true"
Environment = "dev"
}
}