mantl / terraform.py

Ansible dynamic inventory script for parsing Terraform state files
Apache License 2.0
451 stars 122 forks source link

Export right private address for DigitalOcean. #42

Closed bergerx closed 8 years ago

bergerx commented 8 years ago

If private networking is enabled while creating a DigitalOcean droplet, private ip address is exported in ipv4_address_private. I also kept the old use-public-address-as-private-address method as a fallback to keep it backward compatible in case of private networking not chosen when creating the droplet.

BrianHicks commented 8 years ago

Awesome, thank you!