Skip to content

Commit

Permalink
Add NO_COLOR env var to coralogix-aws-shipper
Browse files Browse the repository at this point in the history
The tracing library that coralogix-aws-shipper supports NO_COLOR, which
avoids sending ansi control characters to cloudwatch logs.

* [tracing library pr](tokio-rs/tracing#2647)

* [NO_COLOR](https://no-color.org/)
  • Loading branch information
m-wynn committed May 10, 2024
1 parent c7d1650 commit 29d823d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## v1.0.98
#### **coralogix-aws-shipper**
### 💡 Enhancements
- Set NO_COLOR environment variable to avoid ascii control characters in cloudwatch logs

## v1.0.97
#### firehose-metrics
### 💡 Enhancements
Expand Down
3 changes: 2 additions & 1 deletion modules/coralogix-aws-shipper/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ module "lambda" {
ADD_METADATA = var.add_metadata
CUSTOM_METADATA = var.custom_metadata
CUSTOM_CSV_HEADER = var.custom_csv_header
NO_COLOR = 1
}
s3_existing_package = {
bucket = var.custom_s3_bucket == "" ? "coralogix-serverless-repo-${data.aws_region.this.name}" : var.custom_s3_bucket
Expand Down Expand Up @@ -246,4 +247,4 @@ resource "aws_vpc_endpoint" "secretsmanager" {
subnet_ids = var.subnet_ids
security_group_ids = var.security_group_ids
private_dns_enabled = true
}
}

0 comments on commit 29d823d

Please sign in to comment.