Skip to content

Instantly share code, notes, and snippets.

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 = ""
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