awslabs / aws-greengrass-group-setup

File-driven creation of an entire AWS Greengrass group
Apache License 2.0
54 stars 23 forks source link

Check for valid regions in GroupCommands #2

Open brettf opened 7 years ago

brettf commented 7 years ago

The create, clean_all, and deploy functions should ensure they are given valid regions if the region value is not None. Likely this is a simple comparison between the result of invoking boto3.client('ec2').describe_regions() with the given region value.