Created
February 2, 2019 21:21
-
-
Save dgmorales/2881335ae7a7fe8fbb73cf39292bc99f to your computer and use it in GitHub Desktop.
An email to github username map Terraform module
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
# modules/user-map/main.tf | |
locals { | |
user_map = { | |
"[email protected]" = "someguy" | |
"[email protected]" = "strangenick89" | |
} | |
} | |
# modules/user-map/output.tf | |
output "map" { | |
description = "Map of users emails address to GitHub nicknames" | |
value = "${local.user_map}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment