diff --git a/ood-instance/main.tf b/ood-instance/main.tf index 9152f1ac00b176f8e378ea050295b49aa051b864..09e8ce5cdb33954e567c588b47de5e34b9dce5d2 100644 --- a/ood-instance/main.tf +++ b/ood-instance/main.tf @@ -8,8 +8,8 @@ variable "flavor" {} # is created in key-pair module and called in root module variable "key_pair" {type = "string"} -variable "internal_net" {} -variable "external_net" {} +variable "internal_network" {} +variable "external_network" {} # is created in floating-ip module and called in root module variable "floating_ip_ood" {type = "string"} @@ -30,10 +30,10 @@ resource "openstack_compute_instance_v2" "ood" { # defines the networks of the instance network { - name = var.external_net + name = var.external_network } network { - name = var.internal_net + name = var.internal_network } }