mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-25 10:02:16 -04:00
provider/aws: Work around IAM eventual consistency in CW Log Subs (#14959)
This commit is contained in:
@@ -75,6 +75,9 @@ func resourceAwsCloudwatchLogSubscriptionFilterCreate(d *schema.ResourceData, me
|
||||
if strings.Contains(awsErr.Message(), "Could not deliver test message to specified") {
|
||||
return resource.RetryableError(err)
|
||||
}
|
||||
if strings.Contains(awsErr.Message(), "Could not execute the lambda function") {
|
||||
return resource.RetryableError(err)
|
||||
}
|
||||
resource.NonRetryableError(err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user