When I was setting the update parameters for the Snapshotting, I didn't update the copy/pasted params

This commit is contained in:
stack72 2015-11-02 20:57:04 +00:00
parent 7dd15469a5
commit 4f05df6cad
1 changed files with 2 additions and 3 deletions

View File

@ -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") {