terraform-provider-bigip: bigip_ltm_virtual_address erroring out while terraform apply

I am trying to create a virtual server and enable the route advertisement for the vip. Though Terraform plan says it will create the virtual address with all the correct values. The apply errors out with the following error

Error: Unknown boolean conversion for ICMPEcho: selective

  on ../../modules/deploy-vip/main.tf line 141, in resource "bigip_ltm_virtual_address" "vs_va":
 141: resource "bigip_ltm_virtual_address" "vs_va" {

In the resource block (copied below) I am not even toughing the icmp_echo (bool) variable in the bigip_ltm_virtual_address resource only updating the advertize_route variable.

Environment

  • TMOS/Bigip Version: BIG-IP v15.1.0.3 (Build 0.0.12)
  • Terraform Version: v0.13
  • Terraform bigip provider Version: v1.6.0

Terraform code

resource "bigip_ltm_virtual_address" "vs_va" {
  name            = "/Common/x.x.x.x"
  advertize_route = "Selective"
}

Terraform Plan output

 # deploy_vip.bigip_ltm_virtual_address.vs_va will be created
  + resource "bigip_ltm_virtual_address" "vs_va" {
      + advertize_route = "Selective"
      + arp             = true
      + auto_delete     = true
      + conn_limit      = 0
      + enabled         = true
      + icmp_echo       = true
      + id              = (known after apply)
      + name            = (known after apply)
      + traffic_group   = "/Common/traffic-group-1"
    }

Steps To Reproduce

Steps to reproduce the behavior:

  1. Run the above resource block with provided versions to replicate behavior. Experienced when trying to update virtual address of a vip previously deployed (using Terraform) or deploying a brand new brand vip (with Terraform).

Expected Behavior

Only update route advertisement of the virtual address to Selective from Disabled (default) as nothing for ICMPecho was touched.

Actual Behavior

No error in the apply and the route advertisement of the virtual address is updated to Selective from Disabled

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 27

Most upvoted comments

I am able to reproduce it , will provide the fix