Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Openstack terraform changes: Add (optional) dns_nameservers, add volu… #1196

Conversation

paulfrybarger-tgt
Copy link
Contributor

…me size parameters, and allow ssh_user passthrough to modules.

…me size parameters, and allow ssh_user passthrough to modules.
@langston-barrett
Copy link
Contributor

This looks like a good cleanup! Thanks @paulfrybarger-tgt.

@@ -14,6 +15,9 @@ variable floating_ip_pool { default = "name-of-your-floating-ip-pool" }
# Run 'nova image-list' to get your image name
variable image_name { default = "your-CentOS-7" }

# DNS servers passed to Openstack subnet
variable dns_nameservers { default = "" } # comma separated list of ips, e.g. "8.8.8.8,8.8.4.4"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is not set, does openstack use the default values?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I use a compact(split(...)) to turn the empty string into an empty array, which will treat dns_nameservers as if it was not set at all.

@stevendborrelli stevendborrelli added this to the 1.1 milestone Apr 27, 2016
@stevendborrelli stevendborrelli merged commit eccce3f into mantl:master Apr 27, 2016
@stevendborrelli
Copy link
Contributor

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants