Skip to content

cloud-router-2-aws-connection re-makes aws vif every apply #140

@cprivitere

Description

@cprivitere

Even when nothing has changed in the terraform config, the cloud-router-2-aws-connection module wants to delete and recreate the vif, example below:

  # module.fabric_example_cloud-router-2-aws-connection.aws_dx_private_virtual_interface.aws_virtual_interface must be replaced
-/+ resource "aws_dx_private_virtual_interface" "aws_virtual_interface" {
      ~ amazon_side_asn     = "64518" -> (known after apply)
      ~ arn                 = "arn:aws:directconnect:us-west-1:1234568901:abcde/dxvif-fh5su3fx" -> (known after apply)
      ~ aws_device          = "E4Df4-23asdfef1234" -> (known after apply)
      ~ bgp_auth_key        = (sensitive value)
      ~ connection_id       = "dxcon-ffg2tmvw" # forces replacement -> (known after apply) # forces replacement
      ~ id                  = "dxvif-fh5su3fx" -> (known after apply)
      ~ jumbo_frame_capable = false -> (known after apply)
        name                = "port2aws"
      - sitelink_enabled    = false -> null
      - tags                = {} -> null
      ~ tags_all            = {} -> (known after apply)
      ~ vlan                = 305 # forces replacement -> (known after apply) # forces replacement
        # (6 unchanged attributes hidden)
    }

Somehow it seems like the vlan and connection id are forcing the replacement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions