Created
March 25, 2021 14:47
-
-
Save asolera/b70d924fa3cc2f19c15430bfe0ed6fd7 to your computer and use it in GitHub Desktop.
Tagging AWS Cloudwatch Alarms via AWS CLI
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
#!/bin/bash | |
aws cloudwatch tag-resource --resource-arn arn:aws:cloudwatch:us-east-1:012345678901:alarm:Alarm-Name --tags Key=Example,Value=OK Key=Another,Value=Okay |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment