Commit a2964f1e authored by Chirag Chandrahas Shetty's avatar Chirag Chandrahas Shetty
Browse files

Added code to have seperate instance flavor for OHPC, OOD and Compute nodes

parent 985954f4
......@@ -61,7 +61,7 @@ module "create-ohpc-instance" {
source = "./ohpc-instance"
ohpc_instance_name = var.ohpc_instance_name
image_ohpc = var.image_ohpc
flavor = var.flavor
flavor = var.ohpc_flavor
key_pair = "${module.import-keypair.keypair_name}"
external_network = var.external_network
internal_network = var.internal_network
......@@ -79,7 +79,7 @@ module "create-ood-instance" {
source = "./ood-instance"
ood_instance_name = var.ood_instance_name
image_ood = var.image_ood
flavor = var.flavor
flavor = var.ood_flavor
key_pair = "${module.import-keypair.keypair_name}"
internal_network = var.internal_network
internal_ip = var.ood_private_ip
......@@ -96,7 +96,7 @@ module "nodes" {
internal_subnet_id = "${module.cluster-network.internal_subnet_id}"
source = "./nodes"
image_compute = var.image_compute
flavor = var.flavor
flavor = var.compute_flavor
key_pair = "${module.import-keypair.keypair_name}"
compute_node_count = var.compute_node_count
internal_network = var.internal_network
......
......@@ -19,7 +19,9 @@ variable "ood_instance_name" { default = "ood"}
variable "image_ohpc" {default = "CentOS-7-x86_64-GenericCloud-1905"}
variable "image_ood" {default = "CentOS-7-x86_64-GenericCloud-1905"}
variable "ood_private_ip" {default = "10.1.1.11"}
variable "flavor" {default = "m1.medium"}
variable "ood_flavor" {default = "m1.medium"}
variable "compute_flavor" {default = "m1.medium"}
variable "ohpc_flavor" {default = "m1.xlarge"}
variable "internal_network" {default = "clusternet"}
variable "external_network" {default = "dmznet"}
variable "host_prefix" {default = "164.111.161.%s"}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment