File tree Expand file tree Collapse file tree 4 files changed +16
-25
lines changed Expand file tree Collapse file tree 4 files changed +16
-25
lines changed Original file line number Diff line number Diff line change @@ -55,21 +55,19 @@ module "elasticsearch" {
55
55
security_group_ids = [module . security_group . security_group_ids ]
56
56
subnet_ids = tolist (module. public_subnets . public_subnet_id )
57
57
zone_awareness_enabled = true
58
- encrypt_at_rest_enabled = false
59
58
availability_zone_count = 2
60
59
elasticsearch_version = " 7.1"
61
60
instance_type = " t2.small.elasticsearch"
62
61
instance_count = 2
63
62
iam_actions = [" es:ESHttpGet" , " es:ESHttpPut" , " es:ESHttpPost" ]
64
63
volume_size = 30
65
64
volume_type = " gp2"
66
-
67
- dns_enabled = false
68
- es_hostname = " es"
69
- kibana_hostname = " kibana"
70
- dns_zone_id = false
65
+ dns_enabled = false
66
+ es_hostname = " es"
67
+ kibana_hostname = " kibana"
68
+ dns_zone_id = false
71
69
72
70
advanced_options = {
73
71
" rest.action.multi.allow_explicit_index" = " true"
74
72
}
75
- }
73
+ }
Original file line number Diff line number Diff line change @@ -65,14 +65,13 @@ module "elasticsearch" {
65
65
log_publishing_search_cloudwatch_log_group_arn = true
66
66
log_publishing_index_cloudwatch_log_group_arn = true
67
67
68
- encrypt_at_rest_enabled = false
69
- enforce_https = true
70
- tls_security_policy = " Policy-Min-TLS-1-0-2019-07"
71
- public_enabled = false
72
- dns_enabled = false
73
- es_hostname = " es"
74
- kibana_hostname = " kibana"
75
- dns_zone_id = " Z1XJD7SSBKXLC1"
68
+ enforce_https = true
69
+ tls_security_policy = " Policy-Min-TLS-1-0-2019-07"
70
+ public_enabled = false
71
+ dns_enabled = false
72
+ es_hostname = " es"
73
+ kibana_hostname = " kibana"
74
+ dns_zone_id = " Z1XJD7SSBKXLC1"
76
75
77
76
advanced_options = {
78
77
" rest.action.multi.allow_explicit_index" = " true"
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ resource "aws_elasticsearch_domain" "default" {
153
153
}
154
154
155
155
encrypt_at_rest {
156
- enabled = var . encrypt_at_rest_enabled
156
+ enabled = true
157
157
kms_key_id = var. kms_key_id
158
158
}
159
159
@@ -226,7 +226,7 @@ resource "aws_elasticsearch_domain" "default-public" {
226
226
}
227
227
228
228
encrypt_at_rest {
229
- enabled = var . encrypt_at_rest_enabled
229
+ enabled = true
230
230
kms_key_id = var. kms_key_id
231
231
}
232
232
@@ -303,7 +303,7 @@ resource "aws_elasticsearch_domain" "single" {
303
303
}
304
304
305
305
encrypt_at_rest {
306
- enabled = var . encrypt_at_rest_enabled
306
+ enabled = true
307
307
kms_key_id = var. kms_key_id
308
308
}
309
309
@@ -378,7 +378,7 @@ resource "aws_elasticsearch_domain" "single-public" {
378
378
}
379
379
380
380
encrypt_at_rest {
381
- enabled = var . encrypt_at_rest_enabled
381
+ enabled = true
382
382
kms_key_id = var. kms_key_id
383
383
}
384
384
Original file line number Diff line number Diff line change @@ -160,12 +160,6 @@ variable "iops" {
160
160
description = " The baseline input/output (I/O) performance of EBS volumes attached to data nodes. Applicable only for the Provisioned IOPS EBS volume type."
161
161
}
162
162
163
- variable "encrypt_at_rest_enabled" {
164
- type = bool
165
- default = true
166
- description = " Whether to enable encryption at rest."
167
- }
168
-
169
163
variable "kms_key_id" {
170
164
type = string
171
165
default = " "
You can’t perform that action at this time.
0 commit comments