~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.
aws_lb
resource countwhat
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 becomeaws_lb.default[0]
in state.~Terraform will rename the resource in state;
why
Usefull feature.
references
https://github.com/cloudposse/terraform-aws-nlb/issues/52