Initial NAT gateway reconciliation
When there is at least 1 private subnet defined,
ReoncileNatGateways will create a NAT gateway
for every public subnet.
We assume that subnets will be created in pairs
for each availability zone intially.
@@ -31,5 +31,10 @@ func (s *Service) ReconcileNetwork(network *v1alpha1.Network) (err error) {
return err
}
+ // NAT Gateways.
+ if err := s.reconcileNatGateways(network.Subnets, network.VPC); err != nil {
+ return err
+ }
+
return nil
}
