Created
July 3, 2020 16:02
-
-
Save ledakis/055973ae352fddb7843d80348c8eb4b6 to your computer and use it in GitHub Desktop.
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