logoStacktape docs




sync-bucket

Syncs the specified file or a directory to the specified bucket. Existing files that are not present in the source will be removed from the bucket.

stacktape sync-bucket --region <<region>> --bucketName <<bucketName>> --sourcePath <<sourcePath>>

API reference

Command options API reference
bucketName (--bn)
Required

Name of the destination bucket.

Type: string

region (--r)
Required

AWS region for given command.

Type: string ENUM

Possible values: af-south-1ap-east-1ap-northeast-1ap-northeast-2ap-northeast-3ap-south-1ap-southeast-1ap-southeast-2ca-central-1eu-central-1eu-north-1eu-south-1eu-west-1eu-west-2eu-west-3me-south-1sa-east-1us-east-1us-east-2us-west-1us-west-2

sourcePath (--sp)
Required

File system path. Can be absolute, or relative to the current working directory.

Type: string

logFormat (--lf)

Format of logs that are being printed to your console. You can learn more at https://docs.stacktape.com/cli/using-cli Default: 'fancy'

Type: string ENUM

Possible values: basicfancyjsonnormal

logLevel (--ll)

Level of logs that are being printed to the console. You can use 'debug' for more information about what's being done, or 'error' to show only errors. Default: 'info'

Type: string ENUM

Possible values: debugerrorinfo

profile (--p)

AWS profile to use.

Type: string