CloudFormation Fails to Import Intermittently with "Internal Failure" Error
CloudFormation Fails to Import Intermittently with "Internal Failure" Error
Issue Overview:
We have encountered intermittent failures when importing CloudFormation changesets, resulting in the error message: "There was an error creating this changeset. Internal Failure."
Error Message: There was an error creating this changeset. Internal Failure.
Issue Description:
The CloudFormation stack creation or update process intermittently fails with the specified error message. This issue appears to be sporadic and not consistently reproducible, making it challenging to pinpoint the root cause.
Expected Behavior:
CloudFormation changeset creation/update should proceed without encountering internal failures.
Steps to Reproduce (if applicable):
The issue seems to occur intermittently and is not easily reproducible with specific steps.
Additional Context:
- The AWS environment and CloudFormation templates are standard, and no recent changes have been made to the templates that could explain the intermittent failures.
- The failure occurs during the importing of AWS resources, and subsequent attempts may succeed without any modifications to the templates.
Environment Details:
- AWS Region: us-east-1
- Primarily encountering these challenges during the import of AWS resources, with a notable focus on security groups.
currently seeing this when attempting to import a AWS::EC2::VPCGatewayAttachment of the type IGW
Failed to perform S3 bucket import with AWS CLI. The execution is from CloudShell. The steps are based on the following document [1].
Specifically, when running the create-change-set command, the following error occurs:
"An error occurred (ValidationError) when calling the CreateChangeSet operation: ResourceTypes [AWS::s3::Bucket] are not supported for Import."
It has been confirmed that AWS::s3::Bucket supports import [2]. The import succeeded when executed from the Management Console.
[1] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-existing-stack.html#resource-import-existing-stack-cli [2] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html