Gets your keys from github and makes them a list. Handy for cloud-init templates
This file contains 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
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