High availability implementation of AWS NAT instances.
MIT License
Bot releases are hidden (Show)
Published by bwhaley about 1 month ago
This change removes the Lambda VPC endpoint from Alternat. This endpoint is unnecessary for Alternat to function. If you need a Lambda endpoint for some other reason, you should now manage that in your configuration directly.
Full Changelog: https://github.com/chime/terraform-aws-alternat/compare/v0.6.0...v0.7.0
Alternat is now available on the Terraform registry! https://registry.terraform.io/modules/chime/alternat/aws/latest
Full Changelog: https://github.com/chime/terraform-aws-alternat/compare/v0.5.0...v0.6.0
Published by bwhaley 6 months ago
Note: terraform-aws-provider >= v5.32.0 is required when using this release with the Python Lambda runtime.
Thanks to @armona for this contribution!
Full Changelog: https://github.com/1debit/alternat/compare/v0.4.10...v0.5.0
Published by bwhaley 6 months ago
Big thanks to @kristian-lesko for these contributions!
Full Changelog: https://github.com/1debit/alternat/compare/v0.4.9...v0.4.10
Published by bwhaley 6 months ago
Published by bwhaley 7 months ago
Full Changelog: https://github.com/1debit/alternat/compare/v0.4.7...v0.4.8
Published by bwhaley 8 months ago
Full Changelog: https://github.com/1debit/alternat/compare/v0.4.6...v0.4.7
Published by bwhaley 12 months ago
Thanks to @pv93 for this contribution!
Published by bwhaley about 1 year ago
Full Changelog: https://github.com/1debit/alternat/compare/v0.4.4...v0.4.5
Published by bwhaley about 1 year ago
Many thanks to @asafadar for this enhancement!
Full Changelog: https://github.com/1debit/alternat/compare/v0.4.3...v0.4.4
Published by bwhaley over 1 year ago
Exposes Lambda function architectures.
The Terraform module now accepts var.architectures
to configure whether to use arm64
or x86_64
.
Thanks to @n-tucker for the contribution.
Full Changelog: https://github.com/1debit/alternat/compare/v0.4.2...v0.4.3
Published by bwhaley over 1 year ago
Adds a new input, nat_instance_user_data_post_install
, that can contain a script to run on NAT instances at boot time after alternat is configured. Many thanks to @eddycek for this contribution!
Full Changelog: https://github.com/1debit/alternat/compare/v0.4.1...v0.4.2
Published by bwhaley over 1 year ago
nat_instance_security_group_id
nat_instance_block_devices
, to customize the block devices on alternat instances.Many thanks to @Halama and @irasnyd for these contributions!
Full Changelog: https://github.com/1debit/alternat/compare/v0.4.0...v0.4.1
Published by bwhaley over 1 year ago
This update removes the dependency on the python requests
library from the replace-route function and replaces it with the native urllib
. alterNAT can now be deployed using AWS Lambda Python runtime which by default has all the required third-party dependencies preinstalled (boto3
).
The alternat_image_*
inputs are now optional. Nothing has changed for the Docker image runtime which remains the default deployment scenario.
Many thanks to @jgr-trackunit and @oponomarov-tu for this contribution!
Published by bwhaley over 1 year ago
Moves some noisy log messages to debug
level.
Published by bwhaley almost 2 years ago
Allows the user to optionally disable the creation and management of NAT Gateways by alterNAT by setting create_nat_gateways=false
. When set, The user can manage NAT gateways separately - within the vpc module, for example - and alterNAT will work with those rather than provision its own.
When using create_nat_gateways=false
, you must allow alterNAT to manage the 0.0.0.0/0
route. That is, do not use an aws_route
resource for the NAT Gateway with 0.0.0.0/0
as a destination. alterNAT expects to be able to manage the route on its own using the NAT instance userdata script and the replace-route Lambda function. You can either remove the aws_route
resource from your configuration or set:
lifecycle {
ignore_changes = all
}
on the resource to ensure that Terraform ignores it.
Published by bwhaley almost 2 years ago
Adds support for VPCs with multiple CIDR block associations.
Published by bwhaley almost 2 years ago
Adds support for native lambda deployments. You can now pass lambda_package_type = "Image
(the default) to use a container image, or lambda_package_type = Zip
to use a zip file.
Thanks to @oponomarov-tu for this contribution!
Published by bwhaley almost 2 years ago
Replaces the template_cloudinit_config
resource introduced in v0.2.0 with cloudinit_config
to avoid a dependency on the deprecated template provider.
Published by bwhaley almost 2 years ago
This update includes backwards incompatible changes. Follow the migration guide to update without downtime for existing NAT instances.
This update includes a few important changes: