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: 21 days 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
- Host: GitHub
- URL: https://github.com/bcgov/nr-terraform-vault-rdsdb
- Owner: bcgov
- License: gpl-3.0
- Created: 2022-06-29T22:32:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-31T18:24:13.000Z (over 2 years ago)
- Last Synced: 2025-02-13T15:19:02.051Z (2 months ago)
- Topics: aurora-serverless, aws, flnr, flnro, hashicorp-terraform, hashicorp-vault, rds-aurora, rds-aurora-postgres, terraform, vault
- Language: HCL
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[]()
# nr-terraform-db-vault
Set of Terraform scripts intended for the creation of databases in AWS using Terraform and saving/getting secrets from VaultRequisites:
- 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 VaultModules:
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.