Skip to main content

How to Tag Waf Resources using AWS CLI

aws wafv2 tag-resource —resource-arn arn:aws:wafv2:us-east-1::global/webacl/CreatedByALB-b653905e-3273-451d-8902-ab1e490d4ef2 —tags Key=Name,Value=APP-NAME-WAF Key=Environment,Value=Production Key=Application,Value=APP-NAME —region us-east-1 aws wafv2 tag-resource —resource-arn arn:aws:wafv2:us-east-1::global/webacl/CreatedByCloudFront-c709d777/d4724b —tags Key=Name,Value=APP-NAME-WAF Key=Environment,Value=Staging Key=Application,Value=APP-NAME —region us-east-1