From 40f9f9a264d6f9058cf20359d5cb3c0758c6dc8d Mon Sep 17 00:00:00 2001 From: Anton Livaja Date: Tue, 26 Nov 2024 22:42:37 -0500 Subject: [PATCH] add second security group --- terraform-workshop/index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/terraform-workshop/index.md b/terraform-workshop/index.md index b80a9f8..b751048 100644 --- a/terraform-workshop/index.md +++ b/terraform-workshop/index.md @@ -159,7 +159,10 @@ resource "aws_instance" "my_ec2" { ami = "ami-03e383d33727f4804" instance_type = "t2.micro" - security_groups = [aws_security_group.allow_ssh.name] + security_groups = [ + aws_security_group.allow_ssh.name, + aws_security_grou.default_egress.name + ] tags = { Name = "TestEC2Instance"