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

added host prefix var

parent b011b838
No related branches found
No related tags found
1 merge request!18Variable update branch
...@@ -29,14 +29,10 @@ variable "ssh_private_key" { ...@@ -29,14 +29,10 @@ variable "ssh_private_key" {
} }
variable "host_prefix" { variable "host_prefix" {
description = "format of host id. Adds the last three digits of floating ip to create the last part of the host ip" description = "prefix of host id."
default = "164.111.161.%s" default = "164.111.161.%s"
} }
variable "host_id_formatting" {
description =
default = "element(split(".", openstack_networking_floatingip_v2.ip_pool.address),3)"
variable "enable-dhcp" { variable "enable-dhcp" {
description = "whether dhcp in enabled. defualt is true" description = "whether dhcp in enabled. defualt is true"
default = true default = true
......
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