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"