Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Gets your keys from github and makes them a list. Handy for cloud-init templates
data "http" "github-keys" {
url = "https://github.com/ledakis.keys"
}
output "keys" {
value = compact(split("\n",data.http.github-keys.body))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment