-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
provider/aws: Can't create an aws_instance in a VPC with an auto-generated IPv6 address #13250
Comments
I am running into this issue as well. Is there an anticipated go-forward plan for this @radeksimko or are we on our own for a bit? |
I'm curious if it's right around here in resource_aws_instance.go: if a public IP is requested, then we make a new NetworkInterface, which then conflicts with the request for IPv6 addresses. So my guess is, if we go through the effort of creating a network interface because we have a public IP address, we should then call |
Fix an issue when trying to get a public IPv4 address and a public IPv6 address that results in the following error: Error launching source instance: InvalidParameterCombination: Network interfaces and an instance-level IPv6 address count may not be specified on the same request To fix, in situations where we want a IPv6 addresses AND we need to manually specify network interfaces on the instance, create the IPv6 addresses on the network interface that we're creating rather than on the instance itself. Fixes hashicorp#13250
Hi! I've run into the same issue. Found a work around by assigning elastic IP's for IPv4. |
Fix an issue when trying to get a public IPv4 address and a public IPv6 address that results in the following error: Error launching source instance: InvalidParameterCombination: Network interfaces and an instance-level IPv6 address count may not be specified on the same request To fix, in situations where we want a IPv6 addresses AND we need to manually specify network interfaces on the instance, create the IPv6 addresses on the network interface that we're creating rather than on the instance itself. Fixes hashicorp#13250
Fix an issue when trying to get a public IPv4 address and a public IPv6 address that results in the following error: Error launching source instance: InvalidParameterCombination: Network interfaces and an instance-level IPv6 address count may not be specified on the same request To fix, in situations where we want a IPv6 addresses AND we need to manually specify network interfaces on the instance, create the IPv6 addresses on the network interface that we're creating rather than on the instance itself. Fixes hashicorp#13250
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
(Also got the same error on v0.9.1)
Affected Resource(s)
Terraform Configuration Files
Debug Output
Debug output
Expected Behavior
Like
assign_public_ip = true
auto-assigns an IPv4 address to the instance, I would hope/expect thatipv6_address_count = 1
would auto-assign an IPv6 address to the instance.Actual Behavior
Steps to Reproduce
terraform apply
Related
#10538 #12933 #10538
The text was updated successfully, but these errors were encountered: