From f210770cee1d07cba2f68b71deffb5157e4fcf07 Mon Sep 17 00:00:00 2001 From: Jarrett Andrulis Date: Wed, 15 Dec 2021 15:22:42 -0600 Subject: [PATCH] Separated opt-in and default regions --- rdk/rdk.py | 2 +- test-region.yaml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/rdk/rdk.py b/rdk/rdk.py index 4499901e..c4cf965c 100644 --- a/rdk/rdk.py +++ b/rdk/rdk.py @@ -2516,7 +2516,7 @@ def create_rule_template(self): def create_region_set(self): self.args = get_create_region_set_parser().parse_args(self.args.command_args, self.args) output_file = self.args.output_file - output_dict = {"default":["us-east-1","us-west-1","eu-north-1","ap-east-1"],"aws-cn-region-set":["cn-north-1","cn-northwest-1"]} + output_dict = {"default":["us-east-1","us-west-1","eu-north-1","ap-southeast-1"],"aws-cn-region-set":["cn-north-1","cn-northwest-1"]} with open(f"{output_file}.yaml","w+") as file: yaml.dump(output_dict, file, default_flow_style = False) diff --git a/test-region.yaml b/test-region.yaml index d6e0aceb..41fa1fcc 100644 --- a/test-region.yaml +++ b/test-region.yaml @@ -1,6 +1,4 @@ default: - - af-south-1 - - ap-east-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 @@ -10,16 +8,19 @@ default: - ca-central-1 - eu-central-1 - eu-north-1 - - eu-south-1 - eu-west-1 - eu-west-2 - eu-west-3 - - me-south-1 - sa-east-1 - us-east-1 - us-east-2 - us-west-1 - us-west-2 +set-opt-in: + - me-south-1 + - ap-east-1 + - af-south-1 + - eu-south-1 set-china: - cn-north-1 - cn-northwest-1