cloudposse / terraform-aws-nlb

Terraform module to provision a standard NLB for TCP/UDP/TLS traffic https://cloudposse.com/accelerate
https://cloudposse.com/accelerate
Apache License 2.0
24 stars 36 forks source link

fix: enabled input for NLB resource #59

Closed QuentinBtd closed 7 months ago

QuentinBtd commented 7 months ago

what

https://github.com/cloudposse/terraform-aws-nlb/issues/52 enabled input not set on nlb resource. Adding it.

~it will be a breaking change. Resource aws_lb.default will become aws_lb.default[0] in state.~

Terraform will rename the resource in state;

Terraform will perform the following actions:

  # aws_lb.default has moved to aws_lb.default[0]
    resource "aws_lb" "default" {
        id                               = "arn:aws:elasticloadbalancing:ap-southeast-2:123456789012:loadbalancer/net/nlb/1234567890123456"
        name                             = "nlb"
        tags                             = {
            "Name" = "nlb"
        }
        # (14 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

Plan: 0 to add, 0 to change, 0 to destroy.

why

Usefull feature.

references

https://github.com/cloudposse/terraform-aws-nlb/issues/52

milldr commented 7 months ago

/terratest