-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathvariables.tf
102 lines (80 loc) · 2.16 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
##############################
## AWS Provider - Variables ##
##############################
# AWS connection & authentication
variable "aws_access_key" {
type = string
description = "AWS access key"
default = ""
}
variable "aws_secret_key" {
type = string
description = "AWS secret key"
default = ""
}
variable "aws_region" {
type = string
description = "AWS region"
}
#############################
## Application - Variables ##
#############################
# Application definition
variable "app_name" {
type = string
description = "Application name"
}
variable "app_environment" {
type = string
description = "Application environment"
}
#########################
## Network - Variables ##
#########################
# Network configuration
variable "redshift_vpc_cidr" {
type = string
description = "VPC IPv4 CIDR"
}
variable "redshift_subnet_1_cidr" {
type = string
description = "IPv4 CIDR for Redshift subnet 1"
}
variable "redshift_subnet_2_cidr" {
type = string
description = "IPv4 CIDR for Redshift subnet 2"
}
##################################
## Redshift Cluster - Variables ##
##################################
variable "redshift_cluster_identifier" {
type = string
description = "Redshift Cluster Identifier"
}
variable "redshift_database_name" {
type = string
description = "Redshift Database Name"
}
variable "redshift_admin_username" {
type = string
description = "Redshift Admin Username"
}
variable "redshift_admin_password" {
type = string
description = "Redshift Admin Password"
}
variable "redshift_node_type" {
type = string
description = "Redshift Node Type"
default = "dc2.large"
}
variable "redshift_cluster_type" {
type = string
description = "Redshift Cluster Type"
default = "single-node" // options are single-node or multi-node
}
variable "redshift_number_of_nodes" {
type = number
description = "Redshift Number of Nodes in the Cluster"
default = 1
}