https://github.com/iamgp21/database-as-code
Repo to Manage PostgreSql database as Code using Terraform
https://github.com/iamgp21/database-as-code
github-actions gitleaks kics postgresql terraform
Last synced: 2 months ago
JSON representation
Repo to Manage PostgreSql database as Code using Terraform
- Host: GitHub
- URL: https://github.com/iamgp21/database-as-code
- Owner: iamgp21
- License: unlicense
- Created: 2025-08-12T10:10:40.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-23T15:16:10.000Z (11 months ago)
- Last Synced: 2025-08-24T05:40:48.079Z (11 months ago)
- Topics: github-actions, gitleaks, kics, postgresql, terraform
- Language: HCL
- Homepage:
- Size: 168 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# database-as-code
Repo to Manage PostgreSql database as Code using Terraform and Github Actions.
## HIGH LEVEL WORKFLOW DIAGRAM:

## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | ~>1.9.0 |
| [postgresql](#requirement\_postgresql) | 1.25.0 |
## Providers
No providers.
## Modules
| Name | Source | Version |
|------|--------|---------|
| [database](#module\_database) | ./modules/database | n/a |
## Resources
No resources.
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [postgresql\_databases](#input\_postgresql\_databases) | A map of PostgreSQL databases to create |
map(object({
name = string
db_owner = string
})) | `{}` | no |
| [postgresql\_default\_password](#input\_postgresql\_default\_password) | The password for the PostgreSQL user | `string` | `""` | no |
## Outputs
No outputs.