fpco / terraform-aws-foundation

Establish a solid Foundation on AWS with these modules for Terraform
MIT License
204 stars 98 forks source link

Add multip-port-sg module #252

Open qrilka opened 4 years ago

qrilka commented 4 years ago

name: Multip-port security group module

Please include the following in your PR:

Please also note that these are not hard requirements, but merely serve to define what maintainers are looking for in PR's. Including these will more likely lead to your PR being reviewed and accepted.

qrilka commented 4 years ago

The main motivation for this module is the fact that TF 0.12 doesn't allow for_each to be used with modules (though the argument is already reserved for future versions). Because of that single-port-sg can't be used with a list of ports to open and this module allows this to be done.