sincecutoff.com
← all changes

aws s3 mb adds a --tags flag for bucket creation

Introduced 2026-03-12 · score 0.94

HOW TO USE IT

When creating an S3 bucket with tags, run `aws s3 mb` with the bucket S3 URI and repeat `--tags <key> <value>` for each tag.

aws s3 mb s3://<bucket-name> --tags <key-1> <value-1> --tags <key-2> <value-2>

WHY THIS HELPS

Create an S3 bucket with tags using the AWS CLI.

REQUIREMENTS AND LIMITATIONS

  • Version: 2.34.8
  • <S3Uri> (required): S3 bucket URI to create.
  • --tags <key> <value>: Tag key and value to add to the bucket; use the flag multiple times, once per tag.
  • Prerequisite: AWS CLI must be installed and configured.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card