terraform-module-rds-from-snapshot
Terraform Create RDS Databases for All BOSH Directors, CF, and others from a snapshot of another RDS instance
Inputs - Required:
rds_instance_name
- Name Prefix and Name Tag value, do not end with hyphen, ex "mgmt-bosh"resource_tags
- AWS tags to apply to resourcesrds_security_group_id
- RDS Security Group created with the name db-access-postgresskms_rds_key_by_arn_arn
- KMS key to encrypt the db with, uses the*/EBS_Default
named onerds_db_subnet_group_name
- Subnets with the tagapps-aws-managed
rds_snapshot_id
- Snapshot ID to create the RDS Instance from
Inputs - Optional:
allocated_storage
- Starting size in GB for the RDS instancemax_allocated_storage
- Maximum size in GB for the RDS instanceengine_version
- db engine version, ex "14.1"instance_class
- db instance size, ex "db.m5.large"
Outputs:
rds_db_instance_dbhost
- Host name for the RDS Instancerds_db_instance_dbuser
- Username suffix for the RDS Instancerds_db_instance_dbpass
- Password suffix for the RDS Instance