Created
November 8, 2018 03:05
-
-
Save JamesJJ/537e167111e1c38b5834630ca85b40e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws s3 ls \ | |
| awk ' { print "aws s3api put-bucket-tagging --bucket " $3 " --tagging \"TagSet=[{Key=component,Value=" $3 "},{Key=service,Value=s3}]\"" }' \ | |
| bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment