provider/aws: Increase timeout for retrying creation of CW log subs (#14722)
This commit is contained in:
parent
3fe1cdadd9
commit
a6617c598a
|
@ -57,7 +57,7 @@ func resourceAwsCloudwatchLogSubscriptionFilterCreate(d *schema.ResourceData, me
|
||||||
params := getAwsCloudWatchLogsSubscriptionFilterInput(d)
|
params := getAwsCloudWatchLogsSubscriptionFilterInput(d)
|
||||||
log.Printf("[DEBUG] Creating SubscriptionFilter %#v", params)
|
log.Printf("[DEBUG] Creating SubscriptionFilter %#v", params)
|
||||||
|
|
||||||
return resource.Retry(3*time.Minute, func() *resource.RetryError {
|
return resource.Retry(5*time.Minute, func() *resource.RetryError {
|
||||||
_, err := conn.PutSubscriptionFilter(¶ms)
|
_, err := conn.PutSubscriptionFilter(¶ms)
|
||||||
|
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
|
Loading…
Reference in New Issue