rtizzy / terraform-provider-vultr

This is a terraform provider for the Vultr cloud. This has been forked from the unmaintained version started by @rgl.
Mozilla Public License 2.0
17 stars 3 forks source link

Add ipv6_address, ipv6_network, ipv6_netsize #8

Open ghost opened 7 years ago

ghost commented 7 years ago

Example:

  provisioner "local-exec" {
    command = "echo ${join(", ", vultr_server.gw_hosts.*.ipv6_address)}"
  }

This only picks the first IPv6 address and disregards all others, but that's good enough for a start. It's also in line with the IPv4 address behaviour.


(The indentation change around snapshot_id is from go fmt which my editor runs automatically. Let me know if I should remove it.)

rtizzy commented 7 years ago

Howdy @lgierth! Thanks a lot for taking the time to add IPv6 support to this plugin.

If you'll update the example.tf file to properly document this new feature, then I'll merge your pull.

Thanks again!

rtizzy commented 7 years ago

@lgierth

Howdy. Do you have a moment to add the documentation for this feature? If so, I'd greatly appreciate it.

If not, I can see about integrating it myself.