Skip to content

Commit 72b798d

Browse files
committed
fix variables
1 parent 8b01569 commit 72b798d

File tree

3 files changed

+18
-56
lines changed

3 files changed

+18
-56
lines changed
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
//output "arn" {
2-
// value = module.elasticsearch.domain_arn
3-
// description = "ARN of the Elasticsearch domain."
4-
//}
5-
//
6-
//output "tags" {
7-
// value = module.elasticsearch.tags
8-
// description = "A mapping of tags to assign to the resource."
9-
//}
1+
output "arn" {
2+
value = module.elasticsearch.domain_arn
3+
description = "ARN of the Elasticsearch domain."
4+
}
5+
6+
output "tags" {
7+
value = module.elasticsearch.tags
8+
description = "A mapping of tags to assign to the resource."
9+
}
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
//output "arn" {
2-
// value = module.elasticsearch.domain_arn
3-
// description = "ARN of the Elasticsearch domain."
4-
//}
5-
//
6-
//output "tags" {
7-
// value = module.elasticsearch.tags
8-
// description = "A mapping of tags to assign to the resource."
9-
//}
1+
output "arn" {
2+
value = module.elasticsearch.domain_arn
3+
description = "ARN of the Elasticsearch domain."
4+
}
5+
6+
output "tags" {
7+
value = module.elasticsearch.tags
8+
description = "A mapping of tags to assign to the resource."
9+
}

variables.tf

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,6 @@ variable "enable_iam_service_linked_role" {
6262
description = "Whether to enabled service linked with role."
6363
}
6464

65-
variable "iam_role_arns" {
66-
type = list(string)
67-
default = []
68-
description = "List of IAM role ARNs to permit access to the Elasticsearch domain."
69-
sensitive = true
70-
}
71-
72-
variable "iam_authorizing_role_arns" {
73-
type = list(string)
74-
default = []
75-
description = "List of IAM role ARNs to permit to assume the Elasticsearch user role."
76-
sensitive = true
77-
}
7865

7966
variable "iam_actions" {
8067
type = list(string)
@@ -130,12 +117,6 @@ variable "zone_awareness_enabled" {
130117
description = "Enable zone awareness for Elasticsearch cluster."
131118
}
132119

133-
variable "public_enabled" {
134-
type = bool
135-
default = false
136-
description = "Enable Elasticsearch cluster is public or not."
137-
}
138-
139120
variable "availability_zone_count" {
140121
type = number
141122
default = 2
@@ -203,26 +184,7 @@ variable "log_publishing_audit_enabled" {
203184
description = "Specifies whether log publishing option for AUDIT_LOGS is enabled or not."
204185
}
205186

206-
variable "log_publishing_index_cloudwatch_log_group_arn" {
207-
type = string
208-
default = ""
209-
description = "ARN of the CloudWatch log group to which log for INDEX_SLOW_LOGS needs to be published."
210-
sensitive = true
211-
}
212187

213-
variable "log_publishing_search_cloudwatch_log_group_arn" {
214-
type = string
215-
default = ""
216-
description = "ARN of the CloudWatch log group to which log for SEARCH_SLOW_LOGS needs to be published."
217-
sensitive = true
218-
}
219-
220-
variable "log_publishing_application_cloudwatch_log_group_arn" {
221-
type = string
222-
default = ""
223-
description = "ARN of the CloudWatch log group to which log for ES_APPLICATION_LOGS needs to be published."
224-
sensitive = true
225-
}
226188

227189
variable "automated_snapshot_start_hour" {
228190
type = number

0 commit comments

Comments
 (0)