Closed srikarduplo closed 3 years ago
Region: us-east-1 is hard coded in the ARN, instead we can replace it with os.environ['REGION'] logWebACLId = "arn:aws:wafv2:us-east-1:" + os.environ['ACCOUNT_ID'] + ":regional/webacl/" + webacl["Name"] + "/" + webacl["Id"];
Good one! Thx! I will modify it next week!
Fixed
Region: us-east-1 is hard coded in the ARN, instead we can replace it with os.environ['REGION'] logWebACLId = "arn:aws:wafv2:us-east-1:" + os.environ['ACCOUNT_ID'] + ":regional/webacl/" + webacl["Name"] + "/" + webacl["Id"];