{"id":46337309,"url":"https://github.com/squareops/terraform-aws-rds-postgresql","last_synced_at":"2026-03-04T19:05:40.110Z","repository":{"id":173363283,"uuid":"604128725","full_name":"squareops/terraform-aws-rds-postgresql","owner":"squareops","description":"Terraform module for simplified provisioning and management of AWS PostgreSQL","archived":false,"fork":false,"pushed_at":"2025-03-17T10:42:44.000Z","size":128,"stargazers_count":18,"open_issues_count":4,"forks_count":14,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-13T09:53:59.702Z","etag":null,"topics":["aws","database","postgresql","postgresql-backup","postgresql-cluster","rds","terraform"],"latest_commit_sha":null,"homepage":"https://squareops.com","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/squareops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-20T11:52:40.000Z","updated_at":"2025-03-17T10:39:16.000Z","dependencies_parsed_at":"2023-11-27T08:25:54.266Z","dependency_job_id":"b329cd34-f052-4272-aa1f-690ecdfae93b","html_url":"https://github.com/squareops/terraform-aws-rds-postgresql","commit_stats":null,"previous_names":["squareops/terraform-aws-rds-postgresql"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/squareops/terraform-aws-rds-postgresql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-aws-rds-postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-aws-rds-postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-aws-rds-postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-aws-rds-postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squareops","download_url":"https://codeload.github.com/squareops/terraform-aws-rds-postgresql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squareops%2Fterraform-aws-rds-postgresql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30090042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T18:31:08.343Z","status":"ssl_error","status_checked_at":"2026-03-04T18:31:07.708Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","database","postgresql","postgresql-backup","postgresql-cluster","rds","terraform"],"created_at":"2026-03-04T19:05:39.428Z","updated_at":"2026-03-04T19:05:40.101Z","avatar_url":"https://github.com/squareops.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RDS PostgresQL\n![squareops_avatar]\n\n[squareops_avatar]: https://squareops.com/wp-content/uploads/2022/12/squareops-logo.png\n\n### [SquareOps Technologies](https://squareops.com/) Your DevOps Partner for Accelerating cloud journey.\n\u003cbr\u003e\nThis Terraform module provisions an Amazon RDS PostgreSQL database on AWS. Amazon RDS (Relational Database Service) is a managed database service that makes it easy to set up, operate, and scale a relational database in the cloud. This module focuses specifically on PostgreSQL database deployments.\n\n## Features\n\n  1. Creates an Amazon RDS PostgreSQL database with customizable configurations.\n  2. Supports various PostgreSQL versions and allows for easy updates.\n  3. Configurable database instance class, storage capacity, and other PostgreSQL-specific settings.\n  4. Provides options for enabling multi-AZ deployment for enhanced availability and disaster recovery.\n  5. Allows customization of backup retention period and automated backups.\n  6. Supports encryption at rest using AWS Key Management Service (KMS) for enhanced security.\n  7. Enables fine-grained control over network access through security groups and VPC settings.\n  8. Offers customizable tags for resource categorization and management.\n  9. CloudWatch Alerts: Set up CloudWatch alarms to monitor the health and performance of your Redis cluster. Integrate these alarms with AWS Simple Notification Service (SNS) to receive real-time alerts. Use AWS Lambda functions to customize your alerting logic, and send notifications to Slack channels for immediate visibility into your RDS POstgresql status.\n  10. Supports useful features to enable storage autoscaling and Replica configuration with desired number of replicas.\n\n## Usage Examples\n```hcl\nmodule \"rds-pg\" {\n  source                           = \"squareops/rds-postgresql/aws\"\n  name                             = \"postgresql\"\n  db_name                          = \"proddb\"\n  vpc_id                           = \"vpc-047eb8acfb73\"\n  multi_az                         = false\n  subnet_ids                       = [\"subnet-b39cfc\", \"subnet-090b8d8\"]\n  environment                      = \"prod\"\n  create_namespace                 = true\n  storage_type                     = \"gp3\"\n  cluster_name                     = \"\"\n  replica_enable                   = false\n  replica_count                    = 1\n  kms_key_arn                      = \"arn:aws:kms:region:2222222222:key/f8c8d802-a34b\"\n  storage_type                     = \"gp3\"\n  engine_version                   = \"15.2\"\n  instance_class                   = \"db.m5.large\"\n  master_username                  = \"pguser\"\n  allocated_storage                = \"20\"\n  publicly_accessible              = false\n  skip_final_snapshot              = true\n  backup_window                    = \"03:00-06:00\"\n  maintenance_window               = \"Mon:00:00-Mon:03:00\"\n  major_engine_version             = \"15.2\"\n  deletion_protection              = false\n  allowed_security_groups          = [\"sg-013cbf880\"]\n  final_snapshot_identifier_prefix = \"final\"\n  cloudwatch_metric_alarms_enabled = true\n  alarm_cpu_threshold_percent      = 70\n  disk_free_storage_space          = \"10000000\" # in bytes\n  slack_username                   = \"John\"\n  slack_channel                    = \"skaf-dev\"\n  slack_webhook_url                = \"https://hooks/xxxxxxxx\"\n  custom_user_password             = \"postgresqlpasswd\"\n    cluster_name              = \"\"\n  namespace                 = local.namespace\n  create_namespace          = local.create_namespace\n  postgresdb_backup_enabled = false\n  postgresdb_backup_config = {\n    postgres_database_name = \"\" # Specify the database name or Leave empty if you wish to backup all databases\n    cron_for_full_backup   = \"*/2 * * * *\" # set cronjob for backup\n    bucket_uri             = \"s3://mongodb-backups-atmosly\" # s3 bucket uri\n  }\n  postgresdb_restore_enabled = false\n  postgresdb_restore_config = {\n    bucket_uri       = \"s3://mongodb-backups-atmosly\" #S3 bucket URI (without a trailing slash /) containing the backup dump file.\n    backup_file_name = \"db5_20241114111607.sql\"  #Give .sql or .zip file for restore\n  }\n}\n```\nRefer [examples](https://github.com/squareops/terraform-aws-rds-postgresql/tree/main/examples) for more details.\n\n## IAM Permissions\nThe required IAM permissions to create resources from this module can be found [here](https://github.com/squareops/terraform-aws-rds-postgresql/blob/main/IAM.md)\n\n\u003c!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.0 |\n| \u003ca name=\"requirement_aws\"\u003e\u003c/a\u003e [aws](#requirement\\_aws) | \u003e= 5.0.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_archive\"\u003e\u003c/a\u003e [archive](#provider\\_archive) | n/a |\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 5.0.0 |\n| \u003ca name=\"provider_random\"\u003e\u003c/a\u003e [random](#provider\\_random) | n/a |\n\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_backup_restore\"\u003e\u003c/a\u003e [backup\\_restore](#module\\_backup\\_restore) | ./modules/db-backup-restore | n/a |\n| \u003ca name=\"module_cw_sns_slack\"\u003e\u003c/a\u003e [cw\\_sns\\_slack](#module\\_cw\\_sns\\_slack) | ./lambda | n/a |\n| \u003ca name=\"module_db\"\u003e\u003c/a\u003e [db](#module\\_db) | terraform-aws-modules/rds/aws | 6.1.0 |\n| \u003ca name=\"module_db_replica\"\u003e\u003c/a\u003e [db\\_replica](#module\\_db\\_replica) | terraform-aws-modules/rds/aws | 6.1.0 |\n| \u003ca name=\"module_security_group_rds\"\u003e\u003c/a\u003e [security\\_group\\_rds](#module\\_security\\_group\\_rds) | terraform-aws-modules/security-group/aws | ~\u003e 5.0 |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [aws_cloudwatch_metric_alarm.cache_cpu](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_metric_alarm) | resource |\n| [aws_cloudwatch_metric_alarm.disk_free_storage_space_too_low](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_metric_alarm) | resource |\n| [aws_kms_ciphertext.slack_url](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_ciphertext) | resource |\n| [aws_kms_key.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_key) | resource |\n| [aws_lambda_permission.sns_lambda_slack_invoke](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_permission) | resource |\n| [aws_secretsmanager_secret.secret_master_db](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/secretsmanager_secret) | resource |\n| [aws_secretsmanager_secret_version.rds_credentials](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/secretsmanager_secret_version) | resource |\n| [aws_security_group_rule.cidr_ingress](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule) | resource |\n| [aws_security_group_rule.default_ingress](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule) | resource |\n| [aws_sns_topic.slack_topic](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/sns_topic) | resource |\n| [aws_sns_topic_subscription.slack-endpoint](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/sns_topic_subscription) | resource |\n| [random_password.master](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password) | resource |\n| [archive_file.lambdazip](https://registry.terraform.io/providers/hashicorp/archive/latest/docs/data-sources/file) | data source |\n| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source |\n| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_additional_tags\"\u003e\u003c/a\u003e [additional\\_tags](#input\\_additional\\_tags) | A map of additional tags to apply to the AWS resources | `map(string)` | \u003cpre\u003e{\u003cbr/\u003e  \"automation\": \"true\"\u003cbr/\u003e}\u003c/pre\u003e | no |\n| \u003ca name=\"input_alarm_actions\"\u003e\u003c/a\u003e [alarm\\_actions](#input\\_alarm\\_actions) | Alarm action list | `list(string)` | `[]` | no |\n| \u003ca name=\"input_alarm_cpu_threshold_percent\"\u003e\u003c/a\u003e [alarm\\_cpu\\_threshold\\_percent](#input\\_alarm\\_cpu\\_threshold\\_percent) | CPU threshold alarm level | `number` | `75` | no |\n| \u003ca name=\"input_allocated_storage\"\u003e\u003c/a\u003e [allocated\\_storage](#input\\_allocated\\_storage) | The allocated storage capacity for the database in gibibytes (GiB) | `number` | `20` | no |\n| \u003ca name=\"input_allowed_cidr_blocks\"\u003e\u003c/a\u003e [allowed\\_cidr\\_blocks](#input\\_allowed\\_cidr\\_blocks) | A list of CIDR blocks that are allowed to access the database | `list(any)` | `[]` | no |\n| \u003ca name=\"input_allowed_security_groups\"\u003e\u003c/a\u003e [allowed\\_security\\_groups](#input\\_allowed\\_security\\_groups) | A list of Security Group IDs to allow access to the database | `list(any)` | `[]` | no |\n| \u003ca name=\"input_apply_immediately\"\u003e\u003c/a\u003e [apply\\_immediately](#input\\_apply\\_immediately) | Specifies whether any cluster modifications are applied immediately or during the next maintenance window | `bool` | `false` | no |\n| \u003ca name=\"input_backup_retention_period\"\u003e\u003c/a\u003e [backup\\_retention\\_period](#input\\_backup\\_retention\\_period) | The number of days to retain backups for | `number` | `5` | no |\n| \u003ca name=\"input_backup_window\"\u003e\u003c/a\u003e [backup\\_window](#input\\_backup\\_window) | The preferred window for taking automated backups of the database | `string` | `\"03:00-06:00\"` | no |\n| \u003ca name=\"input_bucket_provider_type\"\u003e\u003c/a\u003e [bucket\\_provider\\_type](#input\\_bucket\\_provider\\_type) | Choose what type of provider you want (s3, gcs) | `string` | `\"s3\"` | no |\n| \u003ca name=\"input_cloudwatch_metric_alarms_enabled\"\u003e\u003c/a\u003e [cloudwatch\\_metric\\_alarms\\_enabled](#input\\_cloudwatch\\_metric\\_alarms\\_enabled) | Boolean flag to enable/disable CloudWatch metrics alarms | `bool` | `false` | no |\n| \u003ca name=\"input_cluster_name\"\u003e\u003c/a\u003e [cluster\\_name](#input\\_cluster\\_name) | Specifies the name of the EKS cluster to deploy the MySQL application on. | `string` | `\"\"` | no |\n| \u003ca name=\"input_create_db_subnet_group\"\u003e\u003c/a\u003e [create\\_db\\_subnet\\_group](#input\\_create\\_db\\_subnet\\_group) | Whether to create a database subnet group | `bool` | `true` | no |\n| \u003ca name=\"input_create_namespace\"\u003e\u003c/a\u003e [create\\_namespace](#input\\_create\\_namespace) | Specify whether or not to create the namespace if it does not already exist. Set it to true to create the namespace. | `string` | `false` | no |\n| \u003ca name=\"input_create_security_group\"\u003e\u003c/a\u003e [create\\_security\\_group](#input\\_create\\_security\\_group) | Whether to create a security group for the database | `bool` | `true` | no |\n| \u003ca name=\"input_custom_user_password\"\u003e\u003c/a\u003e [custom\\_user\\_password](#input\\_custom\\_user\\_password) | Custom password for the RDS master user | `string` | `\"\"` | no |\n| \u003ca name=\"input_cw_sns_topic_arn\"\u003e\u003c/a\u003e [cw\\_sns\\_topic\\_arn](#input\\_cw\\_sns\\_topic\\_arn) | The username to use when sending notifications to Slack. | `string` | `\"\"` | no |\n| \u003ca name=\"input_db_name\"\u003e\u003c/a\u003e [db\\_name](#input\\_db\\_name) | The name of the automatically created database on cluster creation | `string` | `\"\"` | no |\n| \u003ca name=\"input_deletion_protection\"\u003e\u003c/a\u003e [deletion\\_protection](#input\\_deletion\\_protection) | Specifies whether accidental deletion protection is enabled | `bool` | `true` | no |\n| \u003ca name=\"input_disk_free_storage_space\"\u003e\u003c/a\u003e [disk\\_free\\_storage\\_space](#input\\_disk\\_free\\_storage\\_space) | Alarm threshold for the 'lowFreeStorageSpace' alarm | `string` | `\"10000000000\"` | no |\n| \u003ca name=\"input_enable_ssl_connection\"\u003e\u003c/a\u003e [enable\\_ssl\\_connection](#input\\_enable\\_ssl\\_connection) | Whether to enable SSL connection to the database | `bool` | `false` | no |\n| \u003ca name=\"input_enable_storage_autoscaling\"\u003e\u003c/a\u003e [enable\\_storage\\_autoscaling](#input\\_enable\\_storage\\_autoscaling) | Whether enable storage autoscaling or not | `bool` | `true` | no |\n| \u003ca name=\"input_engine\"\u003e\u003c/a\u003e [engine](#input\\_engine) | The name of the database engine to be used for this DB cluster | `string` | `\"postgres\"` | no |\n| \u003ca name=\"input_engine_version\"\u003e\u003c/a\u003e [engine\\_version](#input\\_engine\\_version) | The database engine version. Updating this argument results in an outage | `string` | `\"\"` | no |\n| \u003ca name=\"input_environment\"\u003e\u003c/a\u003e [environment](#input\\_environment) | Select enviroment type: dev, demo, prod | `string` | `\"\"` | no |\n| \u003ca name=\"input_family\"\u003e\u003c/a\u003e [family](#input\\_family) | The version of the Postgresql DB family being created | `string` | `\"postgres15\"` | no |\n| \u003ca name=\"input_final_snapshot_identifier_prefix\"\u003e\u003c/a\u003e [final\\_snapshot\\_identifier\\_prefix](#input\\_final\\_snapshot\\_identifier\\_prefix) | The prefix name for the final snapshot on cluster destroy | `string` | `\"final\"` | no |\n| \u003ca name=\"input_instance_class\"\u003e\u003c/a\u003e [instance\\_class](#input\\_instance\\_class) | The instance type for the database | `string` | `\"db.m5.large\"` | no |\n| \u003ca name=\"input_kms_key_arn\"\u003e\u003c/a\u003e [kms\\_key\\_arn](#input\\_kms\\_key\\_arn) | The ARN for the KMS encryption key. Set this to the destination KMS ARN when creating an encrypted replica. If storage\\_encrypted is set to true and kms\\_key\\_id is not specified, the default KMS key created in your account will be used | `string` | `null` | no |\n| \u003ca name=\"input_maintenance_window\"\u003e\u003c/a\u003e [maintenance\\_window](#input\\_maintenance\\_window) | The preferred window for performing database maintenance | `string` | `\"Mon:00:00-Mon:03:00\"` | no |\n| \u003ca name=\"input_major_engine_version\"\u003e\u003c/a\u003e [major\\_engine\\_version](#input\\_major\\_engine\\_version) | The major engine version for the database. Updating this argument results in an outage | `string` | `\"\"` | no |\n| \u003ca name=\"input_manage_master_user_password\"\u003e\u003c/a\u003e [manage\\_master\\_user\\_password](#input\\_manage\\_master\\_user\\_password) | Whether to manage the master user password of the RDS primary cluster automatically | `bool` | `false` | no |\n| \u003ca name=\"input_master_username\"\u003e\u003c/a\u003e [master\\_username](#input\\_master\\_username) | The username for the RDS primary cluster | `string` | `\"\"` | no |\n| \u003ca name=\"input_max_allocated_storage\"\u003e\u003c/a\u003e [max\\_allocated\\_storage](#input\\_max\\_allocated\\_storage) | The Maximum storage capacity for the database value after autoscaling | `number` | `null` | no |\n| \u003ca name=\"input_multi_az\"\u003e\u003c/a\u003e [multi\\_az](#input\\_multi\\_az) | Enable multi-AZ for disaster recovery | `bool` | `false` | no |\n| \u003ca name=\"input_name\"\u003e\u003c/a\u003e [name](#input\\_name) | The name of the RDS instance | `string` | `\"\"` | no |\n| \u003ca name=\"input_namespace\"\u003e\u003c/a\u003e [namespace](#input\\_namespace) | Name of the Kubernetes namespace where the MYSQL deployment will be deployed. | `string` | `\"postgresdb\"` | no |\n| \u003ca name=\"input_ok_actions\"\u003e\u003c/a\u003e [ok\\_actions](#input\\_ok\\_actions) | The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Number (ARN) | `list(string)` | `[]` | no |\n| \u003ca name=\"input_performance_insights_enabled\"\u003e\u003c/a\u003e [performance\\_insights\\_enabled](#input\\_performance\\_insights\\_enabled) | Specifies whether Performance Insights are enabled | `bool` | `false` | no |\n| \u003ca name=\"input_performance_insights_retention_period\"\u003e\u003c/a\u003e [performance\\_insights\\_retention\\_period](#input\\_performance\\_insights\\_retention\\_period) | The amount of time in days to retain Performance Insights data. Valid values are `7`, `731` (2 years) or a multiple of `31` | `number` | `7` | no |\n| \u003ca name=\"input_port\"\u003e\u003c/a\u003e [port](#input\\_port) | The port number for the database | `number` | `5432` | no |\n| \u003ca name=\"input_postgresdb_backup_config\"\u003e\u003c/a\u003e [postgresdb\\_backup\\_config](#input\\_postgresdb\\_backup\\_config) | configuration options for MySQL database backups. It includes properties such as the S3 bucket URI, the S3 bucket region, and the cron expression for full backups. | `map(string)` | \u003cpre\u003e{\u003cbr/\u003e  \"bucket_uri\": \"\",\u003cbr/\u003e  \"cron_for_full_backup\": \"\",\u003cbr/\u003e  \"postgres_database_name\": \"\"\u003cbr/\u003e}\u003c/pre\u003e | no |\n| \u003ca name=\"input_postgresdb_backup_enabled\"\u003e\u003c/a\u003e [postgresdb\\_backup\\_enabled](#input\\_postgresdb\\_backup\\_enabled) | Specifies whether to enable backups for MySQL database. | `bool` | `false` | no |\n| \u003ca name=\"input_postgresdb_restore_config\"\u003e\u003c/a\u003e [postgresdb\\_restore\\_config](#input\\_postgresdb\\_restore\\_config) | Configuration options for restoring dump to the MySQL database. | `any` | \u003cpre\u003e{\u003cbr/\u003e  \"bucket_uri\": \"\",\u003cbr/\u003e  \"file_name\": \"\"\u003cbr/\u003e}\u003c/pre\u003e | no |\n| \u003ca name=\"input_postgresdb_restore_enabled\"\u003e\u003c/a\u003e [postgresdb\\_restore\\_enabled](#input\\_postgresdb\\_restore\\_enabled) | Specifies whether to enable restoring dump to the MySQL database. | `bool` | `false` | no |\n| \u003ca name=\"input_publicly_accessible\"\u003e\u003c/a\u003e [publicly\\_accessible](#input\\_publicly\\_accessible) | Specifies whether the RDS instance is publicly accessible over the internet | `bool` | `false` | no |\n| \u003ca name=\"input_random_password_length\"\u003e\u003c/a\u003e [random\\_password\\_length](#input\\_random\\_password\\_length) | The length of the randomly generated password for the RDS primary cluster (default: 16) | `number` | `16` | no |\n| \u003ca name=\"input_replica_count\"\u003e\u003c/a\u003e [replica\\_count](#input\\_replica\\_count) | The number of replica instance | `number` | `1` | no |\n| \u003ca name=\"input_replica_enable\"\u003e\u003c/a\u003e [replica\\_enable](#input\\_replica\\_enable) | Whether enable replica DB | `bool` | `false` | no |\n| \u003ca name=\"input_replicate_source_db\"\u003e\u003c/a\u003e [replicate\\_source\\_db](#input\\_replicate\\_source\\_db) | Specifies that this resource is a replicate database, and uses the specified value as the source database identifier | `string` | `null` | no |\n| \u003ca name=\"input_skip_final_snapshot\"\u003e\u003c/a\u003e [skip\\_final\\_snapshot](#input\\_skip\\_final\\_snapshot) | Determines whether a final DB snapshot is created before the DB instance is deleted. If set to true, no DB snapshot is created. If set to false, a DB snapshot is created before the DB instance is deleted, using the value from final\\_snapshot\\_identifier | `bool` | `true` | no |\n| \u003ca name=\"input_slack_channel\"\u003e\u003c/a\u003e [slack\\_channel](#input\\_slack\\_channel) | The Slack channel where notifications will be posted. | `string` | `\"\"` | no |\n| \u003ca name=\"input_slack_notification_enabled\"\u003e\u003c/a\u003e [slack\\_notification\\_enabled](#input\\_slack\\_notification\\_enabled) | Whether to enable/disable slack notification. | `bool` | `false` | no |\n| \u003ca name=\"input_slack_username\"\u003e\u003c/a\u003e [slack\\_username](#input\\_slack\\_username) | The username to use when sending notifications to Slack. | `string` | `\"\"` | no |\n| \u003ca name=\"input_slack_webhook_url\"\u003e\u003c/a\u003e [slack\\_webhook\\_url](#input\\_slack\\_webhook\\_url) | The Slack Webhook URL where notifications will be sent. | `string` | `\"\"` | no |\n| \u003ca name=\"input_snapshot_identifier\"\u003e\u003c/a\u003e [snapshot\\_identifier](#input\\_snapshot\\_identifier) | Specifies whether to create the database from a snapshot. Use the snapshot ID found in the RDS console, e.g., rds:production-2015-06-26-06-05 | `string` | `null` | no |\n| \u003ca name=\"input_storage_encrypted\"\u003e\u003c/a\u003e [storage\\_encrypted](#input\\_storage\\_encrypted) | Specifies whether to enable database encryption | `bool` | `true` | no |\n| \u003ca name=\"input_storage_type\"\u003e\u003c/a\u003e [storage\\_type](#input\\_storage\\_type) | The storage type for the database storage like gp2,gp3,io1 | `string` | `\"gp2\"` | no |\n| \u003ca name=\"input_subnet_ids\"\u003e\u003c/a\u003e [subnet\\_ids](#input\\_subnet\\_ids) | A list of subnet IDs used by the database subnet group | `list(any)` | `[]` | no |\n| \u003ca name=\"input_vpc_id\"\u003e\u003c/a\u003e [vpc\\_id](#input\\_vpc\\_id) | The ID of the VPC where the RDS cluster will be deployed | `string` | `\"\"` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_db_instance_endpoint\"\u003e\u003c/a\u003e [db\\_instance\\_endpoint](#output\\_db\\_instance\\_endpoint) | Connection endpoint of the RDS instance. |\n| \u003ca name=\"output_db_instance_name\"\u003e\u003c/a\u003e [db\\_instance\\_name](#output\\_db\\_instance\\_name) | Name of the database instance |\n| \u003ca name=\"output_db_instance_password\"\u003e\u003c/a\u003e [db\\_instance\\_password](#output\\_db\\_instance\\_password) | Password for accessing the database. |\n| \u003ca name=\"output_db_instance_username\"\u003e\u003c/a\u003e [db\\_instance\\_username](#output\\_db\\_instance\\_username) | Master username for accessing the database. |\n| \u003ca name=\"output_db_name\"\u003e\u003c/a\u003e [db\\_name](#output\\_db\\_name) | The database name used in the RDS module |\n| \u003ca name=\"output_db_parameter_group_id\"\u003e\u003c/a\u003e [db\\_parameter\\_group\\_id](#output\\_db\\_parameter\\_group\\_id) | ID of the parameter group associated with the RDS instance. |\n| \u003ca name=\"output_db_subnet_group_id\"\u003e\u003c/a\u003e [db\\_subnet\\_group\\_id](#output\\_db\\_subnet\\_group\\_id) | ID of the subnet group associated with the RDS instance. |\n| \u003ca name=\"output_master_credential_secret_arn\"\u003e\u003c/a\u003e [master\\_credential\\_secret\\_arn](#output\\_master\\_credential\\_secret\\_arn) | The ARN of the master user secret (Only available when manage\\_master\\_user\\_password is set to true) |\n| \u003ca name=\"output_rds_dedicated_security_group\"\u003e\u003c/a\u003e [rds\\_dedicated\\_security\\_group](#output\\_rds\\_dedicated\\_security\\_group) | ID of the security group associated with the RDS instance. |\n| \u003ca name=\"output_replica_db_instance_endpoint\"\u003e\u003c/a\u003e [replica\\_db\\_instance\\_endpoint](#output\\_replica\\_db\\_instance\\_endpoint) | Connection endpoint of the RDS instance. |\n| \u003ca name=\"output_replica_db_instance_name\"\u003e\u003c/a\u003e [replica\\_db\\_instance\\_name](#output\\_replica\\_db\\_instance\\_name) | Name of the replica database s |\n\u003c!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --\u003e\n\n## Contribute \u0026 Issue Report\n\nTo report an issue with a project:\n\n  1. Check the repository's [issue tracker](https://github.com/squareops/terraform-aws-rds-postgresql/issues) on GitHub\n  2. Search to check if the issue has already been reported\n  3. If you can't find an answer to your question in the documentation or issue tracker, you can ask a question by creating a new issue. Make sure to provide enough context and details.\n\n## License\n\nApache License, Version 2.0, January 2004 (https://www.apache.org/licenses/LICENSE-2.0)\n\n## Support Us\n\nTo support our GitHub project by liking it, you can follow these steps:\n\n  1. Visit the repository: Navigate to the [GitHub repository](https://github.com/squareops/terraform-aws-rds-postgresql)\n\n  2. Click the \"Star\" button: On the repository page, you'll see a \"Star\" button in the upper right corner. Clicking on it will star the repository, indicating your support for the project.\n\n  3. Optionally, you can also leave a comment on the repository or open an issue to give feedback or suggest changes.\n\nStaring a repository on GitHub is a simple way to show your support and appreciation for the project. It also helps to increase the visibility of the project and make it more discoverable to others.\n\n## Who we are\n\nWe believe that the key to success in the digital age is the ability to deliver value quickly and reliably. That’s why we offer a comprehensive range of DevOps \u0026 Cloud services designed to help your organization optimize its systems \u0026 Processes for speed and agility.\n\n  1. We are an AWS Advanced consulting partner which reflects our deep expertise in AWS Cloud and helping 100+ clients over the last 5 years.\n  2. Expertise in Kubernetes and overall container solution helps companies expedite their journey by 10X.\n  3. Infrastructure Automation is a key component to the success of our Clients and our Expertise helps deliver the same in the shortest time.\n  4. DevSecOps as a service to implement security within the overall DevOps process and helping companies deploy securely and at speed.\n  5. Platform engineering which supports scalable,Cost efficient infrastructure that supports rapid development, testing, and deployment.\n  6. 24*7 SRE service to help you Monitor the state of your infrastructure and eradicate any issue within the SLA.\n\nWe provide [support](https://squareops.com/contact-us/) on all of our projects, no matter how small or large they may be.\n\nTo find more information about our company, visit [squareops.com](https://squareops.com/), follow us on [Linkedin](https://www.linkedin.com/company/squareops-technologies-pvt-ltd/), or fill out a [job application](https://squareops.com/careers/). If you have any questions or would like assistance with your cloud strategy and implementation, please don't hesitate to [contact us](https://squareops.com/contact-us/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquareops%2Fterraform-aws-rds-postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquareops%2Fterraform-aws-rds-postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquareops%2Fterraform-aws-rds-postgresql/lists"}