1+ # Additional documentation: https://www.terraform.io/docs/configuration/variables.html
2+ variable "email" {
3+ description = " email address to be used for tagging (suggestion: use group email address)"
4+ }
5+
6+ variable "teamid" {
7+ description = " (Required) Name of the team/group e.g. devops, dataengineering. Should not be changed after running 'tf apply'"
8+ }
9+
10+ variable "prjid" {
11+ description = " (Required) Name of the project/stack e.g: mystack, nifieks, demoaci. Should not be changed after running 'tf apply'"
12+ }
13+
14+ variable "cluster_identifier" {
15+ type = " string"
16+ description = " Identifier of new cluster"
17+ }
18+
19+ variable "node_type" {
20+ type = " string"
21+ description = " Type of node."
22+ }
23+
24+ variable "cache_nodes" {
25+ description = " Number of cache nodes"
26+ default = 1
27+ }
28+
29+ variable "parameter_group_name" {
30+ type = " string"
31+ description = " Name of parameter group."
32+ }
33+
34+ variable "engine_version" {
35+ type = " string"
36+ description = " Version of engine"
37+ }
38+
39+ variable "port" {
40+ description = " Port for cluster."
41+ default = 6379
42+ }
43+
44+ variable "subnet_group_name" {
45+ type = " string"
46+ description = " Name of subnet group."
47+ }
48+
49+ variable "security_group_ids" {
50+ type = " list"
51+ description = " List of security groups."
52+ }
53+
54+ variable "snapshot_window" {
55+ type = " string"
56+ description = " Time of day when snapshot will be taken."
57+ }
58+
59+ variable "snapshot_retention_limit" {
60+ description = " Number of days snapshot image will be retaind"
61+ default = 5
62+ }
63+
64+ variable "availability_zone" {
65+ type = " string"
66+ description = " Availability zone"
67+ }
68+
69+ variable "engine" {
70+ default = " redis"
71+ }
72+
73+ variable "profile_to_use" {
74+ description = " Getting values from ~/.aws/credentials"
75+ }
76+
77+ variable "aws_region" {
78+ default = " us-west-2"
79+ }
0 commit comments