mercredi 5 août 2015

How to list AWS EC2 regions with libcloud

Is there a way to get the list of all regions available on AWS through libcloud ?

With powershell AWS SDK I can use :

$regions = @(Get-AWSRegion)
foreach ($region in $regions)
{
$region.Region
}

How can I do the same with Python and libcloud ?

Many thanks, Johnny




Aucun commentaire:

Enregistrer un commentaire