Internet facing NLB will create with 2 EIP in two subnets
Actual Behavior
Unable to create public NLB.
Relevant Error/Panic Output Snippet
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for aws_lb.example to include new values learned so
│ far during apply, provider "registry.terraform.io/hashicorp/aws" produced
│ an invalid new value for .subnet_mapping: planned set element
│ cty.ObjectVal(map[string]cty.Value{"allocation_id":cty.StringVal("eipalloc-041fe95ff4a534d11"),
│ "ipv6_address":cty.NullVal(cty.String), "outpost_id":cty.StringVal(""),
│ "private_ipv4_address":cty.NullVal(cty.String),
│ "subnet_id":cty.StringVal("subnet-0a5f9b78f18d68949")}) does not correlate
│ with any element in actual.
│
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
╵
╷
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for aws_lb.example to include new values learned so
│ far during apply, provider "registry.terraform.io/hashicorp/aws" produced
│ an invalid new value for .subnet_mapping: block set length changed from 2
│ to 3.
│
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.1.6
AWS Provider Version
5.60.0
Affected Resource(s)
Network Load Balancer
Expected Behavior
Internet facing NLB will create with 2 EIP in two subnets
Actual Behavior
Unable to create public NLB.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Create three files.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None