RaJiska / terraform-aws-fck-nat

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

improve: add use_default_ingress and use_default_egress variables #43

Open a0s opened 1 month ago

a0s commented 1 month ago

I need to have better SG control, but due to https://github.com/RaJiska/terraform-aws-fck-nat/issues/27 and https://github.com/RaJiska/terraform-aws-fck-nat/pull/9#issuecomment-1962929091 i have to use this PR.

RaJiska commented 1 month ago

Hi @a0s , could you elaborate on the use cases that this PR would help solving?

baudlord commented 1 month ago

At least for me, this would let me define different security group rules and attach them to the security group, without Terraform trying to overwrite (and delete) them at the next apply.

We use fck-nat and transit gateways to share a NAT gateway between different VPCs, and cannot do that without #27.

phergoualch commented 3 weeks ago

I encoutered the same exact issue as @baudlord. I need better security group control to allow a larger CIDR than the VPC to connect to the NAT