secured-postgresql-rds
bridgecrewio/secured-postgresql-rds/aws
A Terraform module to create an Amazon Web Services (AWS) PostgreSQL Relational Database Server (RDS) in a VPC, NAT implementing security best practices.
Install
README
Terraform AWS Secured PostgreSQL RDS   !Terraform Version  A Terraform module to create an Amazon Web Services (AWS) PostgreSQL Relational Database Server (RDS) in a VPC, NAT and security best practices. Provision Instructions Copy and paste into your Terraform configuration, insert the variables, and run terraform init : `` module "secured-postgresql-rds" { source = "bridgecrewio/secured-postgresql-rds/aws" version = "0.6.1" instance_name = "my_db" } `` Architecture: !RDS Best Practices The username and password to the DB will be stored in
Inputs (23)
| Name | Type | Description | Default |
|---|---|---|---|
| vpc_peering_id | string | required | |
| snapshot_identifier | string | required | |
| instance_name | string | The name of the database instance to be created | required |
| office_cidr | string | The public CIDR range the RDS will be open to. Should be used to be able to dire | "0.0.0.0/32" |
| database_port | string | "5432" | |
| backup_window | string | "08:00-08:30" | |
| deletion_protection | string | false | |
| allocated_storage | string | The allocated storage size of the DB, in GiB | "100" |
| engine_version | string | "9.6" | |
| multi_availability_zone | string | true | |
| allow_major_version_upgrade | bool | false | |
| vpc_cidr_block | string | The CIDR range for the VPC. The subnet CIDR range will be derived from this rang | "10.0.0.0/16" |
| auto_minor_version_upgrade | string | true | |
| copy_tags_to_snapshot | string | true | |
| monitoring_interval | string | "0" | |
| environment | string | The environment this deployment is for, i.e. dev / prod / staging etc | "dev" |
| instance_type | string | "db.m4.large" | |
| storage_type | string | "gp2" | |
| database_username | string | "awsuser" | |
| iops | string | "0" | |
| backup_retention_period | string | "30" | |
| maintenance_window | string | The maintenance window. must satisfy the format of "ddd:hh24:mi-ddd:hh24:mi" | "sun:09:00-sun:10:00" |
| parameter_group | string | "default.postgres9.6" |
Outputs (8)
db_subnet_idsdatabase_security_group_idvpc_network_acl_iddb_username_ssm_parameterdb_password_ssm_parameterkms_arndb_instance_iddb_vpc_idResources (3)
Topics & Tags
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,