Skip to content

Commit 38c4dfd

Browse files
authored
Update variable names for Tigris compatibility (#55)
* updates for tigris compatibility * don't break existing configs
1 parent f4f00ad commit 38c4dfd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

vector-configs/sinks/aws_s3.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
# General
33
type = "aws_s3"
44
inputs = ["log_json"]
5-
bucket = "${AWS_BUCKET}"
5+
bucket = "${AWS_BUCKET:-$BUCKET_NAME}"
66
compression = "gzip"
7-
region = "${AWS_REGION}"
7+
region = "${AWS_REGION:-auto}"
88
framing.method = "newline_delimited"
99
encoding.codec = "json"
1010
key_prefix = "{{fly.app.name}}/%F/" # optional, default
1111
healthcheck.enabled = true # optional, default
12-
${S3_ENDPOINT+endpoint = "$S3_ENDPOINT"}
12+
${S3_ENDPOINT+endpoint = "\"$S3_ENDPOINT"\"}
13+
${AWS_ENDPOINT_URL_S3+endpoint = "\"$AWS_ENDPOINT_URL_S3"\"}

0 commit comments

Comments
 (0)