aws-cloudformation / aws-cloudformation-resource-providers-stepfunctions

The CloudFormation Resource Provider Package For AWS Step Functions
https://aws.amazon.com/step-functions/
Apache License 2.0
6 stars 4 forks source link

Update statemachine SFN client to retry on missing logging permissions #40

Closed jormello closed 1 year ago

jormello commented 1 year ago

Description of changes: Creation of state machines with logging enabled can fail due to IAM propagation delay. We do not currently retry on these failures, which is causing stack creations to fail.

This change updates the client's retry policy to retry if the failure is due to missing logging permissions.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.