You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes the AWS Cloud Import program tries to call ReadResource on a block of resources that will consistently fail for one reason or another. For instance, some AWS APIs incorrectly return a retriable 500 where they should be returning a 404:
aws-native:codepipeline:CustomActionType (CodePipelineCustomActionTypeSourceECR1)
error: operation error CloudControl: GetResource, exceeded maximum number of attempts, 25, https response error StatusCode: 500, RequestID: 187e2ae7-e806-4a1e-b066-a8a2d0df02ec, HandlerInternalFailureException: AWS::CodePipeline::CustomActionType Handler returned status FAILED: Service returned error code ResourceNotFoundException (Service: CodePipeline, Status Code: 400, Request ID: 7db95f1e-459a-4e10-b72a-1202226c2d82) (HandlerErrorCode: InternalFailure, RequestToken: 06f24548-b1fd-4773-bf6d-b4df00dd480e)
These errors are retried 25 times (necessary due to aggressive rate limiting of the Cloud Control API) which can take quite a long time with exponential backoff, and can cause the program to appear hung even though the pulumi engine is just tied up working on a block of resource reads that will never succeed.
Sometimes the AWS Cloud Import program tries to call
ReadResource
on a block of resources that will consistently fail for one reason or another. For instance, some AWS APIs incorrectly return a retriable 500 where they should be returning a 404:These errors are retried 25 times (necessary due to aggressive rate limiting of the Cloud Control API) which can take quite a long time with exponential backoff, and can cause the program to appear hung even though the pulumi engine is just tied up working on a block of resource reads that will never succeed.
Part of this fix for this might be pulumi/pulumi-aws-native#876
Until then we maintain a map specifying resources that are not safe to process due to buggy behavior:
pulumi-cloud-import/pulumi-cloud-import-aws/main.go
Lines 99 to 130 in 3e7514c
When we encounter more resources that cause these slow updates due to exhaustive retries, we should add them to this list.
Related issue to make the list above configurable: #8
The text was updated successfully, but these errors were encountered: