terraform-provider-bigip: big_ltm_virtual_server does not work with IPv6 address
This issue was originally opened by @zx1986 as hashicorp/terraform#24747. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
Using Kubernetes executor with image hashicorp/terraform:0.12.24 ...
* provider.bigip: version = "~> 1.1"
Terraform Configuration Files
resource "bigip_ltm_virtual_server" "vs" {
pool = "/Common/tf_pool_name"
name = "/Common/tf_vs_80"
destination = "aaaa:b034:1001:700:xxxx:xxxx:xxxx:xxxx"
port = 80
}
Debug Output
Crash Output
Error: A port number or service name is missing for "aaaa:b034:1001:700:xxxx:yyyy:zzzz:xxxx:80". Please specify a port number or service name using the syntax
"aaaa:b034:1001:700:xxxx:yyyy:zzzz:xxxx:80.<port>".
on main.tf line 53, in resource "bigip_ltm_virtual_server" "vs":
53: resource "bigip_ltm_virtual_server" "vs" {
Expected Behavior
Create an Virtual Server with IPv6 destination.
Actual Behavior
Apply failed.
Steps to Reproduce
terraform initterraform apply
Additional Context
@dan-kriz had told: BigIP for ipv6 is expecting the separator for the port to be a dot (.) instead of a colon (:)
References
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15
please verify with v1.2.0, open new issue if u see any issues
@zx1986 As AS3 is the primary API for BIG-IP going forward, we are working stabilize more on as3 resource. and we also provided fix for #278
Fixes for Issues #278 and #254 will be available with terraform bigip provider v1.2.0 which will be available for public by May11th.
@zx1986 As i mentioned in previous comment this issue #254 fixes available in https://github.com/F5Networks/terraform-provider-bigip master branch
Verified issue not seen by building image locally and running. these changes will be available in upcoming release as planned by next week. you can always reach us for any issues you are seeing with provider, we are always help you. please reach us with our slack channel :https://github.com/F5Networks/terraform-provider-bigip#community-help
IPv6 is possible through the AS3 resource currently. I would recommend utilizing this when possible as it has a declarative app/service approach vs per object.
Tracking this via TER-309 internally.