Created
June 11, 2019 21:44
-
-
Save trodemaster/d2f1b5b44c93d2ab1500f0519f6d5dee to your computer and use it in GitHub Desktop.
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
provider "vault" {} | |
# Run helper script to slurp up environment variables | |
data "external" "vault_info" { | |
program = ["bash","grab_vars.sh" ] | |
} | |
# output the vault_addr for debugging | |
output "Vault Address" { | |
value = "${data.external.vault_info.result.vault_addr}" | |
} | |
# output the vault_namespace for debugging | |
output "Vault Namespace" { | |
value = "${data.external.vault_info.result.vault_namespace}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment