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
[feature] Add 'snapshot_identifier' to all aws-aurora modules (#323)
* Add 'snapshot_identifier' to all aws-aurora modules
This will support creating a new RDS cluster from an existing snapshot, e.g. for
data mirroring to a different env.
* Set empty default for aurora inital snapshot variable
* Make default snapshot identifier null
Co-authored-by: Andrew Tolopko <[email protected]>
Copy file name to clipboardexpand all lines: aws-aurora-mysql/variables.tf
+6
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,12 @@ variable "project" {
57
57
description="Project for tagging and naming. See [doc](../README.md#consistent-tagging)"
58
58
}
59
59
60
+
variable"snapshot_identifier" {
61
+
type=string
62
+
description="Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot."
63
+
default=null
64
+
}
65
+
60
66
variable"skip_final_snapshot" {
61
67
type=string
62
68
description="When you destroy a database RDS will, by default, take snapshot. Set this to skip that step."
description="Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot."
79
+
default=null
80
+
}
81
+
76
82
variable"skip_final_snapshot" {
77
83
type=string
78
84
description="When you destroy a database RDS will, by default, take snapshot. Set this to skip that step."
Copy file name to clipboardexpand all lines: aws-aurora/variables.tf
+6
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,12 @@ variable "project" {
51
51
description="Project for tagging and naming. See [doc](../README.md#consistent-tagging)"
52
52
}
53
53
54
+
variable"snapshot_identifier" {
55
+
type=string
56
+
description="Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot."
0 commit comments