DEV Community

loading...

Discussion on: [Terraform] Deploy EC2 Instance in Minutes

Collapse
aakatev profile image
Artem Author • Edited

Good catch! I forgot to associate security group with the instance. This should be added to instance resource:

    vpc_security_group_ids = [
        aws_security_group.ubuntu.id
    ]
Enter fullscreen mode Exit fullscreen mode

I fixed the article too!