Skip to content
yassir-aguila-tx edited this page Mar 17, 2018 · 2 revisions

The following is a list of optional arguments for the tn_s3_file_uploader.

--aws-access-key

--aws-secret-access-key

Use these arguments to explicitly pass your credentials to the underlying AWS SDK for Ruby. If any of these two arguments is not provided, then the credentials will be loaded based on the Default Credential Provider Chain. Please, see Providing AWS Credentials for AWS SDK in Ruby for more details.

--honeybadger-api-key

Use this argument to pass in your Honeybadger api key. If this option is provided, then tn_s3_file_uploader will use Honeybadger to report any errors during the upload (in addition to printing errors in STDERR). More information about Honeybadger.

--file-timestamp-resolution

Use this argument to specify the resolution for the timestamp used in the macro substitution of the --s3-output-pattern argument. Value is measured in seconds and default value is 300 (5 minutes).

Example: If the script runs at 1:30:24PM and --file-timestamp-resolution option is the default (300 seconds or 5 minutes), then %{file-timestamp} and any strftime macro substitutions in --s3-output-pattern will use 1:30:20PM as the time. See s3-output-pattern option for details about the macro substitutions.

--fixed_time

Use this argument to override time used to specify the resolution for the timestamp, if this option is not provided the time to use will be script run time.