Skip to content

Instantly share code, notes, and snippets.

@asolera
Created March 25, 2021 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asolera/b70d924fa3cc2f19c15430bfe0ed6fd7 to your computer and use it in GitHub Desktop.
Save asolera/b70d924fa3cc2f19c15430bfe0ed6fd7 to your computer and use it in GitHub Desktop.
Tagging AWS Cloudwatch Alarms via AWS CLI
#!/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