Last active
March 2, 2021 15:43
-
-
Save bruceharrison1984/63f3653d3af9d89bb52eebc05664fbce to your computer and use it in GitHub Desktop.
Usage of aws-secrets-manager-terraform.tf
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
module "secrets" { | |
source = "./secrets" | |
base_name = local.base_name | |
default_tags = local.default_tags | |
secret_map = { | |
"shared/bastion/ssh/public_pem" = tls_private_key.bastion.public_key_openssh | |
"shared/bastion/ssh/private_pem" = tls_private_key.bastion.private_key_pem | |
"shared/bastion/ssh/username" = random_pet.bastion_username.id | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment