Skip to content

Instantly share code, notes, and snippets.

@dasgoll
Created November 13, 2023 07:56
Show Gist options
  • Save dasgoll/22529c39a1d49e3f64c1da4c00f12036 to your computer and use it in GitHub Desktop.
Save dasgoll/22529c39a1d49e3f64c1da4c00f12036 to your computer and use it in GitHub Desktop.
tag an s3 bucket
tags="TagSet=[{Key=Terraform,Value=false},{Key=Environment,Value=global} ]"
aws s3api put-bucket-tagging --bucket gitlab-upload-backup --tagging $tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment