Security Group not found in VPC
July 24, 2018
I got the following error whilst creating an EC2 machine using terraform:
* aws_instance.drumcoder-web: Error launching source instance: InvalidGroup.NotFound: The security group 'admin-access-security-group' does not exist in VPC 'vpc-0d12345' status code: 400, request id: abc123
Looking at the AWS console, the security group did exist and was in the VPC …