diff --git a/auto-drive/main.tf b/auto-drive/main.tf index 57885d2..a6b1b29 100644 --- a/auto-drive/main.tf +++ b/auto-drive/main.tf @@ -48,7 +48,7 @@ module "vpc" { resource "aws_security_group" "auto_drive_sg" { name = "auto_drive_sg" description = "auto drive security group" - vpc_id = var.vpc_cidr + vpc_id = module.vpc.vpc_id # Ingress Rules ingress {