github chime/terraform-aws-alternat v0.9.0

latest releases: v0.10.0, v0.9.3, v0.9.2...
one month ago

What's Changed

NAT instance recovery feature

Many thanks to contributor @franck-dailymotion for this new feature! 🎉

If the route has previously been updated to use the standby NAT gateway due to a health check failure, the replace-route function can optionally attempt to detect recovery of the NAT instance. This allows the system to automatically recover and return to the preferred, cost-effective path of the NAT instance as soon as it is healthy.

This feature is disabled by default. To enable it, set enable_nat_restore=true and enable_ssm=true.

How it works:

  1. Assume that the connectivity check has failed and the route was updated to use the NAT Gateway.
  2. During the next connectivity check, attempt to restore the NAT instance
  3. Send an SSM command to curl the connectivity check URLs
  4. If the connection is successful, check the NAT configuration
  5. If the configuration is correct, update the route to use the NAT instance.
  6. Continue with regular connectivity checks through the NAT instance.

Note that the route recovery feature does not attempt to remediate any configuration issue on the instance; the instance remains immutable.

Full Changelog: v0.8.7...v0.9.0

Don't miss a new terraform-aws-alternat release

NewReleases is sending notifications on new releases.