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

Compatibilty with cloudposse #31

Closed cannonkalra closed 1 month ago

cannonkalra commented 2 months ago

is it possible to make it compatible with cloudposse/terraform-aws-dynamic-subnets

RaJiska commented 2 months ago

Which part should be compatible ? I am not familiar with this module but from what I can see they use their own NAT instance.

If you only want to manage a single module then it's up to them to do the change to their module. If you are OK with managing multiple modules you may want to simply disable the NAT feature from this module and configure fck-nat module using the output of the cloudposse module.

cannonkalra commented 1 month ago

I was trying to make this work, figured out needed to disable ebs_optimisation for the ec2 which is enabled by default in the cloudposse dynamic subnets module..

https://github.com/cloudposse/terraform-aws-dynamic-subnets/pull/213

closing the issue, it wasn't a problem with fck-nat, just using the AMI with EBS Opimisation Off fixed the problem