-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbluedata_infra_variables.tf
120 lines (109 loc) · 5.39 KB
/
bluedata_infra_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
112
113
114
115
116
117
118
119
120
variable "profile" { default = "default" }
variable "region" { }
variable "az" { }
variable "project_id" { }
variable "user" { }
variable "client_cidr_block" { }
variable "check_client_ip" { default = "true" }
variable "additional_client_ip_list" { default = [] }
variable "vpc_cidr_block" { }
variable "subnet_cidr_block" { }
variable "EC2_CENTOS7_AMIS" {
# Find more at https://console.aws.amazon.com/ec2/home?region=us-east-1#Images:visibility=public-images;search=aws-marketplace/CentOS%20Linux%207%20x86_64%20HVM%20EBS%20ENA%201805_01-b7ee8a69-ee97-4a49-9e68-afaee216db2e-ami-77ec9308.4
default = {
us-east-1 = "ami-9887c6e7" # N.Virginia
us-east-2 = "ami-e1496384" # Ohio
us-west-1 = "ami-4826c22b" # N.California
us-west-2 = "ami-3ecc8f46" # Oregon
ap-southeast-1 = "ami-8e0205f2" # Singapore
eu-central-1 = "ami-dd3c0f36" # Frankfurt
eu-west-1 = "ami-3548444c" # Ireland
eu-west-2 = "ami-00846a67" # London
eu-west-3 = "ami-262e9f5b" # Paris
eu-north-1 = "ami-b133bccf" # Stockholm
}
}
variable "EC2_UBUNTU1804_AMIS" {
# Find more at https://console.aws.amazon.com/ec2/home?region=us-east-1#Images:visibility=public-images;search=aws-marketplace/CentOS%20Linux%207%20x86_64%20HVM%20EBS%20ENA%201805_01-b7ee8a69-ee97-4a49-9e68-afaee216db2e-ami-77ec9308.4
default = {
us-east-1 = "ami-06c075a638fee778f" # N.Virginia
us-east-2 = "ami-0ee5e851705bfaf7a" # Ohio
us-west-1 = "ami-0eedd569ba78a4bbc" # N.California
us-west-2 = "ami-01cfa0ce6fe1024f8" # Oregon
ap-southeast-1 = "ami-088d07b5c35876923" # Singapore
eu-central-1 = "ami-060e472760062f83f" # Frankfurt
eu-west-1 = "ami-02f7235fe5805da91" # Ireland
eu-west-2 = "ami-0978f2d57755c6503" # London
eu-west-3 = "ami-0d857c06968b4f4fb" # Paris
eu-north-1 = "ami-0991deb71c7c7537f" # Stockholm
}
}
variable "ssh_prv_key_path" {}
variable "ssh_pub_key_path" {}
variable "worker_count" { default = 3 }
variable "mapr_cluster_1_count" { default = 0 }
variable "mapr_cluster_1_name" { default = "demo1.mapr.com" }
variable "mapr_cluster_2_count" { default = 0 }
variable "mapr_cluster_2_name" { default = "demo2.mapr.com" }
variable "ad_instance_type" { default = "t2.small" }
variable "mapr_instance_type" { default = "m4.2xlarge" }
variable "ad_server_enabled" { default = true }
variable "dns_zone_name" {
default = "samdom.example.com"
}
variable "enable_route53_private_dns" { default = false }
variable "ca_cert" {
default =<<EOF
-----BEGIN CERTIFICATE-----
MIIDSzCCAjOgAwIBAgIIPkySS+2b3eIwDQYJKoZIhvcNAQELBQAwIDEeMBwGA1UE
AxMVbWluaWNhIHJvb3QgY2EgM2U0YzkyMCAXDTIwMDIyOTE4MTk1MFoYDzIxMjAw
MjI5MTgxOTUwWjAgMR4wHAYDVQQDExVtaW5pY2Egcm9vdCBjYSAzZTRjOTIwggEi
MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCa4GCA9HSEGfJ1l9c+ccA8D6xI
b2LED7ud924at+Qs24ZGXus3GVTSKUVxeuIESm/f10I1UW1Q8kn9lESjWNGks+uO
vE/q8KCxgww2HL2o/gmTn3fATQ+QCexRiiXcNlPezzAMuyZJETTKUSDh/UPUMiNd
KevqHr8706BqMURSdr06QZ+QkOv3+FjiJDCblxx6t2PSMOI+RZEjYlFB7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