Skip to content

Commit e4f91f2

Browse files
committed
fix log options
1 parent 450ad08 commit e4f91f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,19 +202,19 @@ resource "aws_elasticsearch_domain" "single" {
202202
log_publishing_options {
203203
enabled = var.log_publishing_index_enabled
204204
log_type = "INDEX_SLOW_LOGS"
205-
cloudwatch_log_group_arn = format("%s:*", join("", aws_cloudwatch_log_group.cloudwatch.*.arn))
205+
cloudwatch_log_group_arn = join("", aws_cloudwatch_log_group.cloudwatch.*.arn)
206206
}
207207

208208
log_publishing_options {
209209
enabled = var.log_publishing_search_enabled
210210
log_type = "SEARCH_SLOW_LOGS"
211-
cloudwatch_log_group_arn = format("%s:*", join("", aws_cloudwatch_log_group.cloudwatch.*.arn))
211+
cloudwatch_log_group_arn = join("", aws_cloudwatch_log_group.cloudwatch.*.arn)
212212
}
213213

214214
log_publishing_options {
215215
enabled = var.log_publishing_application_enabled
216216
log_type = "ES_APPLICATION_LOGS"
217-
cloudwatch_log_group_arn = format("%s:*", join("", aws_cloudwatch_log_group.cloudwatch.*.arn))
217+
cloudwatch_log_group_arn = join("", aws_cloudwatch_log_group.cloudwatch.*.arn)
218218
}
219219

220220
domain_endpoint_options {

0 commit comments

Comments
 (0)