antonbabenko / modules.tf-lambda

Infrastructure as code generator - from visual diagrams created with Cloudcraft.co to Terraform
https://www.cloudcraft.co/
MIT License
351 stars 56 forks source link

Security Group doesn't have default egress/outbound rules. #64

Open Genaker opened 3 years ago

Genaker commented 3 years ago

Describe the bug

The instance doesn't have an internet connection. No egress/outbound rules

FIX set default all egress:

  # Default CIDR blocks, which will be used for all egress rules in this module. Typically these are CIDR blocks of the VPC.
  # If this is not specified then no CIDR blocks will be use
  egress_cidr_blocks = ["0.0.0.0/0"]

  # Prefix list ids to use in all egress rules in this module.
  # egress_prefix_list_ids = ["pl-123456"]
  # Open for all CIDRs defined in egress_cidr_blocks
  egress_rules = ["all-all"]