Skip to content

Instantly share code, notes, and snippets.

@ipeacocks
Created May 21, 2020 19:52
Show Gist options
  • Save ipeacocks/2fc280ec36c64379133e051e58911da5 to your computer and use it in GitHub Desktop.
Save ipeacocks/2fc280ec36c64379133e051e58911da5 to your computer and use it in GitHub Desktop.
utils.py
from pulumi_aws import get_availability_zones
def get_aws_az(amount):
zones = get_availability_zones()
return zones.names[:amount]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment