Created
January 29, 2016 16:48
-
-
Save martonpe/659898d6e6d0fa4b7e7a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "template_file" "luigi-config" { | |
template = "cloud-config/luigi.yml" | |
vars { | |
default = "${file("cloud-config/default.yml")}" | |
... | |
} | |
} | |
resource "template_cloudinit_config" "luigi-config" { | |
gzip = true | |
base64_encode = false | |
part { | |
content_type = "text/cloud-config" | |
content = "${template_file.luigi-config.rendered}" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment