data "aws_vpc" "graphql" {
  tags = {
    Name = "${var.environment}-graphql-switchboard-vpc"
  }
}

data "aws_subnets" "graphql" {
  filter {
    name   = "vpc-id"
    values = [module.vpc_info.vpc_id]
  }

  tags = {
    Name = "${var.environment}-graphql-switchboard-private-subnet-*"
    tier = "private"
  }
}
