RaJiska / terraform-aws-fck-nat

Terraform module for fck-nat
https://registry.terraform.io/modules/RaJiska/fck-nat/aws/latest
MIT License
61 stars 30 forks source link

Can fck-nat be configured to serve as a private nat? #33

Open sam-sla opened 1 month ago

sam-sla commented 1 month ago

Hello,

Thanks for the great initiative of fck-nat terraform module!

I was looking into possibly using fck-nat for the purpose of private nat, without an external public IP, but noticed this terraform module is hardcoded to add a public IP address https://github.com/RaJiska/terraform-aws-fck-nat/blob/main/ec2.tf#L59

Would it be easy to make it configurable for private nat?

Thanks

RaJiska commented 6 days ago

Hi @sam-sla , sorry for late reply.

This sounds like something that would be possible yes. This project however was created to provide an alternative to the AWS NAT Gateway service with public networking in mind.

There are a few features that I would like to get through before looking into this (NAT64 and true HA reliability) and fear that changing this specific part might make the aforementioned tasks harder to accomplish. Definitely something I will eventually look into though!