My terraform script is as follow: eveything in VPC
resource "aws_security_group" "cacheSecurityGroup" { name = "${var.devname}-${