Explorar el Código

bastion subnet_id as string not list

Roberto Barbosa hace 8 años
padre
commit
b766dc4cb2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      main.tf

+ 1 - 1
main.tf

@@ -97,5 +97,5 @@ module "bastion" {
 
   vpc_id = "${var.vpc_id}"
   allowed_network="10.0.0.0/16"
-  subnet_public="${module.net.public_subnets}"
+  subnet_id="${element(module.net.private_subnets, 0)}"
 }