external_public_private_ip_secondary = [
for private in local.bigip_map["external_subnet_ids"] :
private["private_ip_secondary"]
if private["public_ip"] == true
]
The result of this is the following given we are using dynamic private IP allocation:
[""]
Now, when we get to the line in question on main.tf, a compact is run on that local, which results in a list with length of 0, resulting in the EIP not running on the count. This is a breaking change and resulted in destroys of configuration (EIP was removed and released, breaking all farms associated with said elastic IPs).
Line in question: https://github.com/F5Networks/terraform-aws-bigip-module/blob/main/main.tf#L78
Previous version:
1.1.8
Current version:1.1.9
We are doing dynamic private IP allocation and version 1.1.9 was pulled automatically based on our code and wiped our secondary EIPs allocations.
Our configuration:
In the new line of code, it appears that a new list is constructed of secondary private addresses via a local (https://github.com/F5Networks/terraform-aws-bigip-module/blob/main/locals.tf#L108):
The result of this is the following given we are using dynamic private IP allocation:
[""]
Now, when we get to the line in question on
main.tf
, acompact
is run on that local, which results in a list with length of 0, resulting in the EIP not running on the count. This is a breaking change and resulted in destroys of configuration (EIP was removed and released, breaking all farms associated with said elastic IPs).