postgresql-rds
azavea/postgresql-rds/aws
A Terraform module to create an Amazon Web Services (AWS) PostgreSQL Relational Database Server (RDS).
terraform-aws-postgresql-rds  A Terraform module to create an Amazon Web Services (AWS) PostgreSQL Relational Database Server (RDS). Usage ``hcl module "postgresql_rds" { source = "github.com/azavea/terraform-aws-postgresql-rds" vpc_id = "vpc-20f74844" allocated_storage = "32" engine_version = "9.4.4" instance_type = "db.t2.micro" storage_type = "gp2" database_identifier = "jl23kj32sdf" database_name = "hector" database_username = "hector" database_password = "secret" database_port = "5432" backup_retention_period = "30" backup_window = "04:00-04:30" maintenance_window = "sun:04:30-sun:05:30" auto_minor_version_upgrade = false multi_availability_zone = true storage_encrypted = false subnet_group = aws_db_subnet_group.d
| Name | Type | Description | Default |
|---|---|---|---|
| subnet_group | string | Database subnet group | required |
| database_name | string | Name of database inside storage engine | required |
| alarm_actions | list | List of ARNs to be notified via CloudWatch when alarm enters ALARM state | required |
| database_username | string | Name of user inside storage engine | required |
| database_password | string | Database password inside storage engine | required |
| vpc_id | string | ID of VPC meant to house database | required |
| insufficient_data_actions | list | List of ARNs to be notified via CloudWatch when alarm enters INSUFFICIENT_DATA s | required |
| ok_actions | list | List of ARNs to be notified via CloudWatch when alarm enters OK state | required |
| database_identifier | string | Identifier for RDS instance | required |
| database_port | number | Port on which database will accept connections | 5432 |
| maintenance_window | string | 60 minute time window to reserve for maintenance | "sun:04:30-sun:05:30" |
| final_snapshot_identifier | string | Identifier for final snapshot if skip_final_snapshot is set to false | "terraform-aws-postgresql-rds-snapshot" |
| snapshot_identifier | string | The name of the snapshot (if any) the database should be created from | "" |
| backup_window | string | 30 minute time window to reserve for backups | "04:00-04:30" |
| multi_availability_zone | bool | Flag to enable hot standby in another availability zone | false |
| alarm_disk_queue_threshold | number | Disk queue alarm threshold | 10 |
| storage_encrypted | bool | Flag to enable storage encryption | false |
| monitoring_interval | number | The interval, in seconds, between points when Enhanced Monitoring metrics are co | 0 |
| tags | map(string) | Extra tags to attach to the RDS resources | {} |
| project | string | Name of project this VPC is meant to house | "Unknown" |
| allocated_storage | number | Storage allocated to database instance | 32 |
| engine_version | string | Database engine version | "11.5" |
| environment | string | Name of environment this VPC is targeting | "Unknown" |
| alarm_free_disk_threshold | number | Free disk alarm threshold in bytes | 5000000000 |
| alarm_free_memory_threshold | number | Free memory alarm threshold in bytes | 128000000 |
| copy_tags_to_snapshot | bool | Flag to enable or disable copying instance tags to the final snapshot | false |
| deletion_protection | bool | Flag to protect the database instance from deletion | false |
| auto_minor_version_upgrade | bool | Minor engine upgrades are applied automatically to the DB instance during the ma | true |
| skip_final_snapshot | bool | Flag to enable or disable a snapshot if the database instance is terminated | true |
database_security_group_id — Security group ID of the databaseendpoint — Public DNS name and port separated by a colonid — The database instance IDhosted_zone_id — The zone ID for the autogenerated DNS name given in endpointhostname — Public DNS name of database instanceport — Port of database instanceAzure 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,