Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bruceharrison1984/63f3653d3af9d89bb52eebc05664fbce to your computer and use it in GitHub Desktop.
Save bruceharrison1984/63f3653d3af9d89bb52eebc05664fbce to your computer and use it in GitHub Desktop.
Usage of aws-secrets-manager-terraform.tf
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