From 624bfaf8f362e017c5949af1b21ba0fe87f7ed52 Mon Sep 17 00:00:00 2001 From: Anton Livaja Date: Tue, 26 Nov 2024 22:35:34 -0500 Subject: [PATCH] split ingress and egress --- terraform-workshop/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/terraform-workshop/index.md b/terraform-workshop/index.md index d0bcbc4..b80a9f8 100644 --- a/terraform-workshop/index.md +++ b/terraform-workshop/index.md @@ -135,6 +135,11 @@ resource "aws_security_group" "allow_ssh" { protocol = "tcp" cidr_blocks = ["0.0.0.0/0"] } +} + +resource "aws_security_group" "default_egress" { + name = "default_egress" + description = "Specify egress for instance" egress { from_port = 0