rds-finalsnapshot

connect-group/rds-finalsnapshot/aws

Terraform Module HCL AWS

Terraform module which manages RDS Final Snapshots (Database and Aurora Cluster)

Install
module "rds-finalsnapshot" {
source = "connect-group/rds-finalsnapshot/aws"
version = "2.0.2"
}
plain text: /constructs/tfmod-connect-group-rds-finalsnapshot-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

AWS RDS Final Snapshot Management Module ======================================== --- > IMPORTANT > Please upgrade to module version 1.0.11 if you are using Terraform 0.10.x or 0.11.x or a version below 0.12.20. > Please use module version 2.0.1+ if you are using Terraform 0.12.20+ or 0.13.x > Note that versions before 2.0.2 use Python 2.7 which is no longer supported by AWS - use 2.0.2 or higher. --- > UPDATED to reboot database instance(s) following a snapshot restore if a parameter group requires a pending-reboot. This module, or specifically the submodule rds_snapshot_maintenance will manage Final Snapshots of AWS database instances and clusters to ensure that infrastructure can be backed up, destroyed, and restored. It will retain the last number_of_snapshots_to_retain. If the number

Inputs (8)
NameTypeDescriptionDefault
instance_identifierstring(Required) Unique Database Instance identifier. IMPORTANT: This cannot be rando required
instance_classstring(Optional) The instance type of the RDS instance. Defaults to 'db.t2.micro'"db.t2.micro"
override_restore_snapshot_identifierstring(Optional) Use with care. If present, the database will be restored from this s""
number_of_snapshots_to_retainstring(Optional) Number of final snapshots to retain after restoration. Minimum 0. C1
usernamestring(Required unless a snapshot_identifier is provided) Username for the master DB u""
passwordstring(Required unless a snapshot_identifier is provided) Password for the master DB u""
allocated_storagestring(Required unless a snapshot_identifier is provided) The allocated storage in gig""
database_namestring(Optional) The name of the database to create when the DB instance is created. I""
Outputs (21)
multi_az — If the RDS instance is multi AZ enabled.
port — The database port.
storage_encrypted — Specifies whether the DB instance is encrypted.
engine — The database engine.
hosted_zone_id — The canonical hosted zone ID of the DB instance (to be used in a Route 53 Alias record).
maintenance_window — The instance maintenance window.
engine_version — The database engine version.
name — The database name.
username — The master username for the database.
address — The address of the RDS instance.
allocated_storage — The amount of allocated storage.
ca_cert_identifier — Specifies the identifier of the CA certificate for the DB instance.
status — The RDS instance status.
backup_retention_period — The backup retention period.
endpoint — The connection endpoint.
id — The RDS instance ID.
instance_class — - The RDS instance class.
resource_id — The RDS Resource ID of this instance.
arn — The ARN of the RDS instance.
availability_zone — The availability zone of the instance.
backup_window — The backup window.
Resources (1)
aws_db_instance
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.2
Cloud AWS
★ Stars1
Forks6
Total downloads48.7k
Inputs8
Outputs21
Resources1
Examples4
Submodules2
LicenseApache-2.0
Namespaceconnect-group
Updated