This module allows for whitelisting of an entire team's NAT gateway IPs using cidr-house-rules API
team_to_whitelist
A team that is tracked by cidr-house-rules systemfrom_port
to_port
vpc_id
VPC to apply security group tocidr_house_rules_endpoint
The API endpoint for cidr-house-rules, required! example: https://mycidr-house-rules-deploy.mydomain.com/prod/cidr_house_api_key
AWS API Gateway API key for cidr house rules accessproduct
The product this security group is supportingenvironment
The environment this security group is supporting, i.e. dev, stage, or prod
module "platform-team-access" {
source = "https://github.com/trulia/cidr-house-rules-terraform-nat-gateway-sg.git"
team_to_whitelist = "platform-team"
from_port = "443"
to_port = "443"
vpc_id = "vpc-1233455"
product = "platform"
environment = "prod"
}
cidr_house_rules_sg_security_group_id_tcp
- ID of security group createdcidr_house_rules_sg_security_group_id_udp
- ID of security group createdcidr_house_rules_sg_security_group_id_icmp
- ID of security group created