proxy/cloudfront: these are in us-east-2 now

This commit is contained in:
Iain Learmonth 2022-04-22 15:12:31 +01:00
parent a916041021
commit e30733e0cd

View file

@ -34,7 +34,7 @@ class ProxyCloudfrontAutomation(ProxyAutomation):
provider "aws" { provider "aws" {
access_key = "{{ aws_access_key }}" access_key = "{{ aws_access_key }}"
secret_key = "{{ aws_secret_key }}" secret_key = "{{ aws_secret_key }}"
region = "us-east-1" region = "us-east-2"
} }
{% for group in groups %} {% for group in groups %}
@ -105,7 +105,7 @@ def import_cloudwatch_alarms():
cloudwatch = boto3.client('cloudwatch', cloudwatch = boto3.client('cloudwatch',
aws_access_key_id=app.config['AWS_ACCESS_KEY'], aws_access_key_id=app.config['AWS_ACCESS_KEY'],
aws_secret_access_key=app.config['AWS_SECRET_KEY'], aws_secret_access_key=app.config['AWS_SECRET_KEY'],
region_name='us-east-1') region_name='us-east-2')
dist_paginator = cloudwatch.get_paginator('describe_alarms') dist_paginator = cloudwatch.get_paginator('describe_alarms')
page_iterator = dist_paginator.paginate(AlarmNamePrefix="bandwidth-out-high-") page_iterator = dist_paginator.paginate(AlarmNamePrefix="bandwidth-out-high-")
for page in page_iterator: for page in page_iterator: