When I was setting the update parameters for the Snapshotting, I didn't update the copy/pasted params
This commit is contained in:
parent
7dd15469a5
commit
4f05df6cad
|
@ -373,12 +373,11 @@ func resourceAwsElasticacheClusterUpdate(d *schema.ResourceData, meta interface{
|
||||||
}
|
}
|
||||||
|
|
||||||
if d.HasChange("snapshot_window") {
|
if d.HasChange("snapshot_window") {
|
||||||
req.EngineVersion = aws.String(d.Get("snapshot_window").(string))
|
req.SnapshotWindow = aws.String(d.Get("snapshot_window").(string))
|
||||||
requestUpdate = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if d.HasChange("snapshot_retention_limit") {
|
if d.HasChange("snapshot_retention_limit") {
|
||||||
req.NumCacheNodes = aws.Int64(int64(d.Get("snapshot_retention_limit").(int)))
|
req.SnapshotRetentionLimit = aws.Int64(int64(d.Get("snapshot_retention_limit").(int)))
|
||||||
}
|
}
|
||||||
|
|
||||||
if d.HasChange("num_cache_nodes") {
|
if d.HasChange("num_cache_nodes") {
|
||||||
|
|
Loading…
Reference in New Issue