datacube.utils.aws.auto_find_region#

datacube.utils.aws.auto_find_region(session=None, default=None)[source]#

Try to figure out which region name to use

  1. Region as configured for this/default session

  2. Region this EC2 instance is running in

  3. Value supplied in default

  4. raise exception

Return type

str