Skip to content
Snippets Groups Projects

Feat trim tf deploy

Open Eesaan Atluri requested to merge feat-trim-tf-deploy into master
1 file
+ 0
15
Compare changes
  • Side-by-side
  • Inline
+ 0
15
@@ -14,19 +14,6 @@ provider "openstack" {
}
}
# runs the internal-network module
module "cluster-network" {
internal_net = var.internal_network
source = "./internal-network"
# Default name var is in the module main file
admin_state_up = var.admin_state_up
enable_dhcp = var.enable_dhcp
}
# calls the outputs defined in the internal-network module
output "internal_network_id" {
value = "${module.cluster-network.internal_network_id}"
}
# runs the floating-ip module - uses public network name defined above
module "floating-ip-address" {
source = "./floating-ip"
@@ -62,8 +49,6 @@ module "create-ohpc-instance" {
flavor = var.flavor
key_pair = module.import-keypair.keypair_name
external_network = data.openstack_networking_network_v2.external_net.id
internal_network = "${module.cluster-network.internal_network_id}"
internal_ip = var.ohpc_private_ip
floating_ip_ohpc = module.floating-ip-address.ohpc_address
ohpc_user = var.ohpc_user
ssh_private_key = var.ssh_private_key
Loading