Hi there,
Please add ipv6_ip address to aws_network_interface
http://docs.aws.amazon.com/cli/latest/reference/ec2/create-network-interface.html
Thank you.
Need this please.
Duplicate of #1060
The aws_network_interface data source supports IPv6, the aws_network_interface resource does not.
Currently working around by creating the aws_network_interface with Terraform, manually assigning a IPv6 address in the console or cli, then using the aws_network_interface data source back in Terraform to reference the IPv6 address for things such as R53 records.
resource "aws_network_interface" "eni1" {
subnet_id = "subnet-123456"
security_groups = ["sg-123456"]
attachment {
instance = "${aws_instance.instance.id}"
device_index = 1
}
}
data "aws_network_interface" "eni1" {
id = "${aws_network_interface.eni1.id}"
}
resource "aws_route53_record" "www" {
zone_id = "Z1234565678"
name = "www"
type = "AAAA"
ttl = "60"
multivalue_answer_routing_policy = true
set_identifier = "asa1a"
records = ["${data.aws_network_interface.eni1.ipv6_addresses}"]
health_check_id = "${aws_route53_health_check.instance.id}"
}
Any idea when support for this will be added? Kinda crucial feature for adopting IPv6 in AWS.
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.
If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!
Commenting to keep this open. Last time I checked this was still missing.
I would also like to see this fixed
Support for new ipv6_addresses and ipv6_address_count arguments in the aws_network_interface resource has been merged and will release with version 3.12.0 of the Terraform AWS Provider, next week. Thanks to @DrFaust92 for the implementation. 👍
This has been released in version 3.12.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!
Most helpful comment
The aws_network_interface data source supports IPv6, the aws_network_interface resource does not.
Currently working around by creating the aws_network_interface with Terraform, manually assigning a IPv6 address in the console or cli, then using the aws_network_interface data source back in Terraform to reference the IPv6 address for things such as R53 records.
resource "aws_network_interface" "eni1" {
subnet_id = "subnet-123456"
security_groups = ["sg-123456"]
attachment {
instance = "${aws_instance.instance.id}"
device_index = 1
}
}
data "aws_network_interface" "eni1" {
id = "${aws_network_interface.eni1.id}"
}
resource "aws_route53_record" "www" {
zone_id = "Z1234565678"
name = "www"
type = "AAAA"
ttl = "60"
multivalue_answer_routing_policy = true
set_identifier = "asa1a"
records = ["${data.aws_network_interface.eni1.ipv6_addresses}"]
health_check_id = "${aws_route53_health_check.instance.id}"
}