Skip to content

Commit

Permalink
Update variable names for Tigris compatibility (#55)
Browse files Browse the repository at this point in the history
* updates for tigris compatibility
* don't break existing configs
  • Loading branch information
kylemclaren authored Jan 23, 2024
1 parent f4f00ad commit 38c4dfd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vector-configs/sinks/aws_s3.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
# General
type = "aws_s3"
inputs = ["log_json"]
bucket = "${AWS_BUCKET}"
bucket = "${AWS_BUCKET:-$BUCKET_NAME}"
compression = "gzip"
region = "${AWS_REGION}"
region = "${AWS_REGION:-auto}"
framing.method = "newline_delimited"
encoding.codec = "json"
key_prefix = "{{fly.app.name}}/%F/" # optional, default
healthcheck.enabled = true # optional, default
${S3_ENDPOINT+endpoint = "$S3_ENDPOINT"}
${S3_ENDPOINT+endpoint = "\"$S3_ENDPOINT"\"}
${AWS_ENDPOINT_URL_S3+endpoint = "\"$AWS_ENDPOINT_URL_S3"\"}

0 comments on commit 38c4dfd

Please sign in to comment.