Skip to content

Commit

Permalink
Merge pull request #2134 from terraform-providers/b-elasticache-prm-g…
Browse files Browse the repository at this point in the history
…rp-raise-timeout

r/elasticache_parameter_group: Raise timeout for retry on pending changes
  • Loading branch information
radeksimko authored Nov 1, 2017
2 parents ce68036 + ed04092 commit 5a94bd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_elasticache_parameter_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func resourceAwsElasticacheParameterGroupUpdate(d *schema.ResourceData, meta int
}

log.Printf("[DEBUG] Reset Cache Parameter Group: %s", resetOpts)
err := resource.Retry(15*time.Second, func() *resource.RetryError {
err := resource.Retry(30*time.Second, func() *resource.RetryError {
_, err = conn.ResetCacheParameterGroup(&resetOpts)
if err != nil {
if isAWSErr(err, "InvalidCacheParameterGroupState", " has pending changes") {
Expand Down

0 comments on commit 5a94bd4

Please sign in to comment.