Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bcgov/nr-terraform-vault-rdsdb

Set of Terraform scripts intended for the creation of RDS Aurora Postgres databases in AWS, saving and retrieving secrets from Hashicorp Vault
https://github.com/bcgov/nr-terraform-vault-rdsdb

aurora-serverless aws flnr flnro hashicorp-terraform hashicorp-vault rds-aurora rds-aurora-postgres terraform vault

Last synced: about 9 hours ago
JSON representation

Set of Terraform scripts intended for the creation of RDS Aurora Postgres databases in AWS, saving and retrieving secrets from Hashicorp Vault

Awesome Lists containing this project

README

        

[![Lifecycle:Experimental](https://img.shields.io/badge/Lifecycle-Experimental-339999)]()

# nr-terraform-db-vault
Set of Terraform scripts intended for the creation of databases in AWS using Terraform and saving/getting secrets from Vault

Requisites:
- Installation of Hashicorp Vault locally
- Set up your local environment with the respective AWS credentials before running these modules
- Set up your local environment with your Vault Token credentials and Vault path (VAULT_ADDR and VAULT_TOKEN)
- Create a path "aws/db_secrets" in your local or remote Vault

Modules:

terraform-vault-cred-create : Creates a pair of key values, intended to be used by terraform-rds-db-create during the creation of a database.
terraform-rds-db-create : Retrieves credentials from Vault and creates an RDS Aurora Postgres DB. This module relies on credentials existing in Vault.