Skip to content
Snippets Groups Projects
Commit b2212f6e authored by Ryan Randles Jones's avatar Ryan Randles Jones
Browse files

moved internal and external subnet id calls above source in the ohpc and ood instance modules

parent 1abf5203
No related branches found
No related tags found
No related merge requests found
......@@ -90,8 +90,8 @@ output "keypair_name" {
# runs the ohpc-instance module - creates ohpc instance using variables defined above
# calls functions from dmz-network, keypair, and floating-ip modules to get values created there for use
module "ohpc-instance" {
source = "./ohpc-instance"
external_subnet_id = "${module.dmz-network.external_subnet_id}"
source = "./ohpc-instance"
ohpc_instance_name = var.ohpc_instance_name
image_ohpc = var.image_ohpc
flavor = var.flavor
......@@ -107,8 +107,8 @@ module "ohpc-instance" {
# runs the ood-instance module - creates ood instance using variables defined above
# calls functions from cluster-network, keypair, and floating-ip modules to get values created there for use
module "ood-instance" {
source = "./ood-instance"
internal_subnet_id = "${module.cluster-network.internal_subnet_id}"
source = "./ood-instance"
ood_instance_name = var.ood_instance_name
image_ood = var.image_ood
flavor = var.flavor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment