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 scanning is graciously provided by Bridgecrew. Bridgecrew is the leading fully hosted, cloud-native solution providing continuous Terraform security and compliance.
postgres_version: string
- Postgres Engine Version - default: 12instance_class: string
- Postgres Instance Class - default: db.t3.microallocated_storage: number
- Allocated storage in GB - default: 10backup_retention_period: number
- The days to retain backups - default: 5
db_instance_arn: string
- Postgres Instance ARNdb_master_secret_name: string
- Name of AWS Secrets Manager Secret that holds database master credentialsdb_endpoint: string
- Postgres Connection Endpointdb_security_group_id: string
- Security Group ID for RDS Clusterdb_user_security_group_id: string
- Security Group ID - Attach to any instance to gain access to the postgres cluster