aws-postgresql

intel/aws-postgresql/intel

Terraform Module HCL INTEL ✓ Verified

Intel Cloud Optimization Module - AWS RDS PostgreSQL

Install
module "aws-postgresql" {
source = "intel/aws-postgresql/intel"
version = "3.1.0"
}
plain text: /constructs/tfmod-intel-aws-postgresql-intel/install.txt
⭐ Source on GitHub 📦 Registry page
README

Intel® Optimized Cloud Modules for Terraform © Copyright 2025, Intel Corporation AWS RDS PostgreSQL module This module can be used to deploy an Intel optimized Amazon RDS PostgreSQL Server database instance. Instance selection (Intel Sapphire Rapids db.m7i.2xlarge) and PostgreSQL optimization are included by default in the code. The PostgreSQL Optimizations were based off Intel Xeon Tuning guides Performance Data AWS EC2 M7i Instances Enabled by 4th Gen Intel® Xeon® Scalable Processors Outpaced Older Instances in Transactional Database Performance Usage See examples folder for complete examples. By default, you will only have to pass three variables ``hcl db_password rds_identifier vpc_id ` variables.tf `hcl variable "db_password" { description = "Password for the master database user." ty

Inputs (50)
NameTypeDescriptionDefault
db_passwordstringPassword for the master database user. required
rds_identifierstringName of the RDS instance that will be created. required
create_security_groupboolFlag that allows for the creation of a security group that allows access to the false
db_portnumberThe port on which the DB accepts connections.null
db_iopsnumberThe amount of provisioned IOPS. Setting this implies a storage_type of io1.10000
egress_to_portnumberEnding egress port for the RDS security group.5432
egress_cidr_blockslist(string)Egress CIDR block for the RDS security group.[ "0.0.0.0/0" ]
db_parameter_group_namestringName for the RDS database parameter group."postgresql"
db_tagsmap(string)Map of tags to apply to the database instance.null
db_max_allocated_storagenumberWhen configured, the upper limit to which Amazon RDS can automatically scale the10000
db_performance_insightsboolFlag that specifies whether Performance Insights are enabled.false
db_domainstringThe ID of the Directory Service Active Directory domain to create the instance inull
db_replicate_source_dbstringSpecifies that this resource is a Replicate database, and to use this value as tnull
db_backup_retention_periodnumberThe days to retain backups for. Must be between 0 and 35. Must be greater than 07
ingress_to_portnumberEnding ingress port for the RDS security group.5432
db_engine_versionstringDatabase engine version for AWS database instance."14.17"
db_apply_immediatelyboolFlag that specifies whether any database modifications are applied immediately, false
auto_minor_version_upgradesboolFlag that specifies if minor engine upgrades will be applied automatically to thtrue
instance_classstringInstance class that will be used by the RDS instance."db.m7i.2xlarge"
db_namestringName of the database that will be created on the RDS instance. If this is specifnull
multi_azboolFlag that specifies if the RDS instance is multi_az.true
db_ca_cert_identifierstringThe identifier of the CA certificate for the DB instance.null
… and 10 more inputs
Outputs (41)
db_restore_time — The date and time to restore from.
db_instance_id — RDS instance ID.
db_hosted_zone_id — Hosted zone ID for the database instance.
db_engine_version_actual — Running engine version of the database (full version number)
db_encryption — Flag that indicates if storage encryption is enabled.
db_security_group_ids — Security Group IDs that were associated with the database instance.
db_delete_automated_backups — Flag that specifies if automated backups are deleted.
db_source_dbi_resource_id — The resource ID of the source DB instance from which to restore.
db_automated_backup_arn — The ARN of the automated backup from which to restore.
db_status — Status of the database instance that was created.
db_subnet_group — Name of the subnet group that is associated with the database instance.
db_max_allocated_storage — Maximum storage allocation that is configured on the database instance.
db_storage_type — Storage type that is configured on the database instance.
db_backup_window — Configured backup window for the database instance.
db_name — Name of the database that was created (if specified) during instance creation.
db_iam_auth_enabled — Flag that specifies if iam authenticaiton is enabled on the database
db_allocated_storage — Storage that was allocated to the instance when it configured.
db_monitoring_interval — Monitoring interval configuration.
db_performance_insights_kms_key_id — ARN of the KMS key that Performance Insights is utilizing (if enabled).
db_username — Database instance master username.
db_performance_insights — Flag that indiciates if Performance Insights is enabled.
db_kms_key_id — KMS key that is configured on the database instance if storage encryption is enabled.
db_arn — ARN of the database instance.
db_maintenance_window — Maintainence window for the database instance.
db_ca_cert_identifier — The identifier of the CA certificate for the DB instance.
db_source_db_instance_id — The identifier of the source DB instance from which to restore.
db_parameter_group — Parameter group that was created
db_custom_iam_profile — The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance
db_iops — Database instance iops that was configured.
db_port — Database instance port.
… and 11 more outputs
Resources (5)
aws_db_instanceaws_db_parameter_groupaws_db_subnet_groupaws_security_grouprandom_id
Details
FrameworkTerraform Module
LanguageHCL
Version3.1.0
Cloud INTEL
Total downloads314
Inputs50
Outputs41
Resources5
Examples4
Namespaceintel
Updated