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

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

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:

![DBaC_HLD](./drawio/DBaC.png)

## 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.