Comments (2)
@prawadhwani thanks for filing this. I am not able to recreate this problem. Looking at the Vultr API docs, it seems that IPv6 addresses depends on availability [0], so it may be specific to regions. I am able to create an instance and output it's IPv6 address with the following example configuration:
// Find the ID of the Frankfurt region.
data "vultr_region" "frankfurt" {
filter {
name = "name"
values = ["Frankfurt"]
}
}
// Find the ID for a starter plan.
data "vultr_plan" "starter" {
filter {
name = "price_per_month"
values = ["5.00"]
}
filter {
name = "ram"
values = ["1024"]
}
}
// Find the OS ID for Ubuntu.
data "vultr_os" "ubuntu" {
filter {
name = "name"
values = ["Ubuntu 18.04 x64"]
}
}
// Create a Vultr virtual machine.
resource "vultr_instance" "ubuntu" {
name = "ubuntu"
region_id = "${data.vultr_region.frankfurt.id}"
plan_id = "${data.vultr_plan.starter.id}"
os_id = "${data.vultr_os.ubuntu.id}"
ipv6 = true
}
// Output all of the virtual machine's IPv6 addresses to STDOUT when the infrastructure is ready.
output ip_addresses {
value = "${vultr_instance.ubuntu.ipv6_address}"
}
This produces the following example output:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Outputs:
ip_addresses = [
2001:19f0:6c01:162c:5400:01ff:fe92:7d2c
]
Can you post your configuration that replicates the issue?
[0] https://www.vultr.com/api/#server_create: enable_ipv6 string (optional) 'yes' or 'no'. If yes, an IPv6 subnet will be assigned to the machine (where available)
from terraform-provider-vultr.
@prawadhwani closing for now. Please re-open if you still have this issue and post your configuration to replicate the issue 👍
from terraform-provider-vultr.
Related Issues (20)
- Mismatched Cidr Notation HOT 2
- [Feature request] Documentation improvement HOT 6
- Enabling Autobackups HOT 2
- Recommendations for working with Vultr API Rate Limiting HOT 3
- “Provider doesn’t support data source” for resource vultr_startup_script HOT 2
- Sensible Defaults HOT 1
- Backup Options HOT 1
- Feature request - parameterise email notification on server creation HOT 1
- Destroy step shows failed status but actually deletes the server HOT 16
- Support adding/removing private networks without recreating the instance HOT 3
- Expose MACs of private networks in instance resource HOT 3
- Automatic PTR records, reverse DNS
- Add support for plan changes
- dockerfile Created
- Incompatible API version with plugin. Plugin version: 4, Client versions: [5] HOT 4
- Add firewall_rule notes
- internalizing fatih's structs HOT 2
- Publish release with tf 0.12 support HOT 1
- Support Object Storage
- mac sierra install error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-vultr.