Skip to content

Instantly share code, notes, and snippets.

@taylorsmithgg
Created September 3, 2017 01:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taylorsmithgg/a98ab8129c0ac643fa55b2da23a84932 to your computer and use it in GitHub Desktop.
Save taylorsmithgg/a98ab8129c0ac643fa55b2da23a84932 to your computer and use it in GitHub Desktop.
data "template_file" "cloud-config" {
template = "${ file( "${ path.module }/cloud-config.yml" )}"
vars {
region = "${ var.aws["region"] }"
internal-tld = "${ var.internal-tld }"
s3-bucket = "${ var.s3-bucket }"
region = "${ var.region }"
name = "${ var.name }"
ssl-tar = "/ssl/k8s-etcd.tar"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment