Skip to content

nullstone-modules/aws-rds-postgres

Repository files navigation

aws-rds-postgres

This is a Nullstone module to create an AWS RDS Postgres instance. This instance is configured to enable enhanced monitoring and emit logs to cloudwatch. Additionally, this module creates resources that are necessary to securely connect apps via Nullstone UI.

Security & Compliance

Security scanning is graciously provided by Bridgecrew. Bridgecrew is the leading fully hosted, cloud-native solution providing continuous Terraform security and compliance.

Infrastructure Security CIS AWS V1.3 PCI-DSS V3.2 NIST-800-53 ISO27001 SOC2 HIPAA

Inputs

  • postgres_version: string - Postgres Engine Version - default: 12
  • instance_class: string - Postgres Instance Class - default: db.t3.micro
  • allocated_storage: number - Allocated storage in GB - default: 10
  • backup_retention_period: number - The days to retain backups - default: 5

Outputs

  • db_instance_arn: string - Postgres Instance ARN
  • db_master_secret_name: string - Name of AWS Secrets Manager Secret that holds database master credentials
  • db_endpoint: string - Postgres Connection Endpoint
  • db_security_group_id: string - Security Group ID for RDS Cluster
  • db_user_security_group_id: string - Security Group ID - Attach to any instance to gain access to the postgres cluster