cloudknot.aws.get_region

cloudknot.aws.get_region()[source]

Get the default AWS region

First, check the cloudknot config file for the region option. If that fails, check for the AWS_DEFAULT_REGION environment variable. If that fails, use the region in the AWS (not cloudknot) config file. If that fails, use us-east-1.

Returns

region (string) – default AWS region