This module configs:
- PostgreSQL RDS
Example show how to use it with rds module
module "postgres_rds" {
source = "github.com/escaletech/terraform-modules/modules/postgres_rds"
identifier = "mydb"
environment = "staging"
instance_class = "db.t3.micro"
final_snapshot_identifier = "mydb-staging-final"
allocated_storage = 100
availability_zone = "us-east-1a"
multi_az = false
tags = {
Name = "mydb"
Owner = "myteam"
Environment = "staging"
Repository = "https://github.com/myuser/myrepo"
}| Name | Version |
|---|---|
| aws | ~> 3.0 |
| random | ~> 2.3 |
| Name | Version |
|---|---|
| aws | ~> 3.0 |
| random | ~> 2.3 |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| allocated_storage | Pre-allocated storage in MB | number |
100 |
no |
| availability_zone | Availability zone | string |
"us-east-1c" |
no |
| environment | Deployment environment | string |
n/a | yes |
| final_snapshot_identifier | Final snapshot identifier (for when this database is deleted) | string |
n/a | yes |
| identifier | RDS identifier | string |
n/a | yes |
| instance_class | RDS instance class | string |
"db.t3.micro" |
no |
| tags | Map of tags to identify this resource on AWS | map |
{ |
no |
No output.