secured-postgresql-rds

bridgecrewio/secured-postgresql-rds/aws

Terraform Module HCL 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
module "secured-postgresql-rds" {
source = "bridgecrewio/secured-postgresql-rds/aws"
version = "0.6.1"
}
plain text: /constructs/tfmod-bridgecrewio-secured-postgresql-rds-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform AWS Secured PostgreSQL RDS ![Maintained by Bridgecrew.io](https://bridgecrew.io) ![GitHub tag (latest SemVer)](https://github.com/bridgecrewio/terraform-aws-secured-postgresql-rds/releases/latest) !Terraform Version ![CircleCI](https://circleci.com/gh/bridgecrewio/terraform-aws-secured-postgresql-rds) 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)
NameTypeDescriptionDefault
vpc_peering_idstring required
snapshot_identifierstring required
instance_namestringThe name of the database instance to be created required
office_cidrstringThe public CIDR range the RDS will be open to. Should be used to be able to dire"0.0.0.0/32"
database_portstring"5432"
backup_windowstring"08:00-08:30"
deletion_protectionstringfalse
allocated_storagestringThe allocated storage size of the DB, in GiB"100"
engine_versionstring"9.6"
multi_availability_zonestringtrue
allow_major_version_upgradeboolfalse
vpc_cidr_blockstringThe CIDR range for the VPC. The subnet CIDR range will be derived from this rang"10.0.0.0/16"
auto_minor_version_upgradestringtrue
copy_tags_to_snapshotstringtrue
monitoring_intervalstring"0"
environmentstringThe environment this deployment is for, i.e. dev / prod / staging etc"dev"
instance_typestring"db.m4.large"
storage_typestring"gp2"
database_usernamestring"awsuser"
iopsstring"0"
backup_retention_periodstring"30"
maintenance_windowstringThe maintenance window. must satisfy the format of "ddd:hh24:mi-ddd:hh24:mi""sun:09:00-sun:10:00"
parameter_groupstring"default.postgres9.6"
Outputs (8)
db_subnet_ids
database_security_group_id
vpc_network_acl_id
db_username_ssm_parameter
db_password_ssm_parameter
kms_arn
db_instance_id
db_vpc_id
Resources (3)
aws_db_instanceaws_iam_roleaws_iam_role_policy_attachment
Details
FrameworkTerraform Module
LanguageHCL
Version0.6.1
Cloud AWS
★ Stars5
Forks8
Total downloads6.6k
Inputs23
Outputs8
Resources3
Submodules3
LicenseApache-2.0
Namespacebridgecrewio
Updated