It effectively drops 14 items permanently and replaces the remainder under different list elements.
The 14 can be accounted for as
For each VPC (2), routes are removed relevant to each AZ (3) for the public and private route table, and the peering accepter is removed. So 2 x ((3 AZs x 2 route tables) + 1 acceptor). 14.
This will be applied locally when this PR is approved.
Associated to https://dsdmoj.atlassian.net/browse/NIT-151
Removing these references does 2 things
Note the code that references these changes is based on counts and list lengths (eg. https://github.com/ministryofjustice/hmpps-delius-bastion/blob/master/bastion-vpc/peering.tf#L6) , the terraform apply essentially reorders the entire list, resulting in: Plan: 91 to add, 0 to change, 105 to destroy.
It effectively drops 14 items permanently and replaces the remainder under different list elements. The 14 can be accounted for as
This will be applied locally when this PR is approved.