Skip to content

Instantly share code, notes, and snippets.

@vancluever
Created April 15, 2017 16:14
Show Gist options
  • Save vancluever/6afe4339fd7bd06695cc7f24647534a1 to your computer and use it in GitHub Desktop.
Save vancluever/6afe4339fd7bd06695cc7f24647534a1 to your computer and use it in GitHub Desktop.
Using the old names module
variable "env" {
type = "string"
}
variable "region" {
type = "string"
}
module "names" {
source = "./names"
endpoint_name = "www"
env = "${var.env}"
region = "${var.region}"
}
output "endpoint_name" {
value = "${module.names.endpoint_name}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment