You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,9 @@ The module will create:
20
20
-`dns_zone_id` - The ID of the DNS Zone in Route53 where a new DNS record will be created for the DB host name
21
21
-`host_name` - The DB host name created in Route53
22
22
-`security_group_ids` - The IDs of the security groups from which to allow `ingress` traffic to the DB instance
23
-
-`database_name` - The name of the database (_e.g._`wordpress`)
24
-
-`database_user` - Admin user name (_e.g._`admin`)
25
-
-`database_password` - Admin password
23
+
-`database_name` - (Optional) The name of the database to create when the DB instance is created
24
+
-`database_user` - (Required unless a `snapshot_identifier` or `replicate_source_db` is provided) Username for the master DB user
25
+
-`database_password` - (Required unless a snapshot_identifier or replicate_source_db is provided) Password for the master DB user
26
26
-`database_port` - Database port (_e.g._`3306` for `MySQL`). Used in the DB Security Group to allow access to the DB instance from the provided `security_group_ids`
27
27
-`multi_az` - Default `false`. Set to `true` for a multi-AZ deployment (recommended for production)
28
28
-`storage_type` - One of `standard` (magnetic), `gp2` (general purpose SSD), or `io1` (provisioned IOPS SSD). Default `standard` (magnetic)
@@ -36,15 +36,16 @@ The module will create:
36
36
-`subnet_ids` - List of subnets IDs in the VPC, _e.g._`["sb-1234567890", "sb-0987654321"]`
37
37
-`vpc_id` - VPC ID the DB instance will be connected to
38
38
-`auto_minor_version_upgrade` - Automatically upgrade minor version of the DB (eg. from Postgres 9.5.3 to Postgres 9.5.4). Default `true`
39
-
-`allow_major_version_upgrade` - Allow upgrading of major version of database (eg. from Postgres 9.5.x to Postgres 9.6.x). Default `false`
39
+
-`allow_major_version_upgrade` - Allow upgrading of major version of database. Default `false`. **Important**: if you are using a snapshot for creating an instance, this option should be set to `true` (if engine versions specified in the manifest and in the snapshot are different)
40
40
-`apply_immediately` - Specifies whether any database modifications are applied immediately, or during the next maintenance window. Default `false`
41
41
-`maintenance_window` - The window to perform maintenance in. Default `"Mon:03:00-Mon:04:00"`
42
42
-`skip_final_snapshot` - If `true` (default), DB won't be backed up before deletion
43
43
-`copy_tags_to_snapshot` - Copy all tags from RDS database to snapshot. Default `true`
44
44
-`backup_retention_period` - Backup retention period in days (default `0`). Must be `> 0` to enable backups
45
45
-`backup_window` - When to perform DB snapshots. Default `"22:00-03:00"`. Can't overlap with the maintenance window
46
-
-`db_parameter` - A list of DB parameters to apply. Note that parameters may differ from a family to an other.
47
-
46
+
-`db_parameter` - A list of DB parameters to apply. Note that parameters may differ from a family to an other
47
+
-`snapshot_identifier` - Specifies whether or not to create this database from a snapshot. This correlates to the snapshot ID you'd find in the RDS console, e.g: `rds:production-2015-06-26-06-05`
48
+
-`final_snapshot_identifier` - Specifies whether or not to create a final snapshot for this database when destroing. This option **must** be set if `skip_final_snapshot` = `false`. E.g.: `"dbname-final-snapshot-${md5(timestamp())}"`
0 commit comments