Chris Mague 5 years ago
parent
commit
f7d5d703fa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main.tf

+ 2 - 2
main.tf

@@ -26,9 +26,9 @@ module "nodes" {
   vpc-azs    = var.vpc-azs
   vpc-name   = var.vpc-name
   vpc-id = module.vpc.vpc-id
-  vpc-subnets = ["subnet-062902e9bd6b331d3", "subnet-06d9dcca76217c425"]
+  vpc-subnets = module.vpc.subnets-public
   common-tags = {
     "Owner"   = "maguec"
     "Project" = "example_terraform"
   }
-}
+}