Skip to content

Latest commit

 

History

History
71 lines (60 loc) · 6.6 KB

File metadata and controls

71 lines (60 loc) · 6.6 KB

Requirements

Name Version
terraform >= 1.0
aws >= 5.0.0

Providers

No providers.

Modules

Name Source Version
db terraform-aws-modules/rds-aurora/aws 8.3.1

Resources

No resources.

Inputs

Name Description Type Default Required
allocated_storage Storage size in GB. number null no
db_backup_retention_period Backup retention period in days. string "1" no
db_backup_window Preferred backup window. string "03:00-06:00" no
db_engine The name of the database engine to be used for RDS. string "aurora-postgresql" no
db_engine_mode The database engine mode. string "provisioned" no
db_engine_version The database engine version. string "16.3" no
db_instance_class The instance class to use for RDS. string "db.serverless" no
db_instances Map of cluster instances and any specific/overriding attributes to be created any {} no
db_maintenance_window Preferred maintenance window. string "Mon:00:00-Mon:03:00" no
db_master_password Database password string "" no
db_master_username Database username string "name" no
db_name Database name string "name" no
db_port Database port number 5432 no
db_storage_type Storage Type for RDS. string null no
db_subnet_group Database subnet group to use. Leave blank to create a new one. string "" no
enable_public_access Enable public access for RDS. bool true no
enable_skip_final_snapshot When DB is deleted and If this variable is false, no final snapshot will be made. bool true no
manage_master_user_password Set to true to allow RDS to manage the master user password in Secrets Manager. Cannot be set if master_password is provided bool true no
name Name to be used on all the resources as identifier string "" no
storage_encrypted Enable storage encryption. bool true no
tags Any extra tags to assign to objects map(any) {} no
vpc_id VPC id in which the RDS instance is to be created. string n/a yes
vpc_security_group_ids List of VPC security groups to associate with the RDS cluster list(string) [] no

Outputs

Name Description
cluster_arn The ARN of the RDS instance
cluster_database_name The database name
cluster_endpoint The connection endpoint
cluster_engine_version_actual The running version of the database
cluster_instances The RDS Instances for this cluster
cluster_master_user_secret The AWS Secrets Manager secret created
cluster_master_username The master username for the database
cluster_members List of RDS Instances that are a part of this cluster
cluster_port The database port
cluster_reader_endpoint The address of the RDS instance
cluster_resource_id The RDS Resource ID of this instance
db_cluster_cloudwatch_log_groups The CloudWatch log groups for the DB cluster
enhanced_monitoring_iam_role_arn The ARN of the IAM role used for enhanced monitoring
enhanced_monitoring_iam_role_name The name of the IAM role used for enhanced monitoring
enhanced_monitoring_iam_role_unique_id The unique ID of the IAM role used for enhanced monitoring
security_group_id The ID of the security group