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
AWS CloudFormation templates do not wait for role creation to complete, resulting in errors on subsequent steps (e.g. Lambda function creation.
Steps to Reproduce
Use the v12.2.1 FullDeployment yaml to create a new environment with default settings.
Expected Results
CloudFormation template should complete fully and create all necessary resources.
Actual Results
CloudFormation template fails with errors such as:
The following resource(s) failed to create: [StorePasswordLambda, DeletePasswordLambda, RemovePermissionLambda]. Rollback requested by user.
Template error: IAM role pasoncloud-LambdaDeployRole-1TNJXSYRDHUMR doesn't exist
Template error: IAM role pasoncloud-LambdaRemovePermissionsRole-LPI7QK528XKR doesn't exist
Reproducible
Always - Tried 6 times in a row with same error
Sometimes
Non-Reproducible
Version/Tag number
12.2.1 CFT
Environment setup
Fresh AWS account environment
Additional Information
When the CloudFormation template fails with those errors, I can go to IAM and see that the roles were perfectly created. I think the issue is that it can take IAM a few seconds to make the role fully available, but the CloudFormation template does not wait for this to occur and just attempts to immediately use the roles which causes it to fail if there is any delay in IAM.
The text was updated successfully, but these errors were encountered:
cybr-ajm
changed the title
AWS CloudFormation templates do not wait for role creation to complete, resulting in errors on subsequent steps (e.g. Lambda function creation.
AWS CloudFormation templates do not wait for role creation to complete, resulting in errors on subsequent steps (e.g. Lambda function creation)
Aug 26, 2021
Summary
AWS CloudFormation templates do not wait for role creation to complete, resulting in errors on subsequent steps (e.g. Lambda function creation.
Steps to Reproduce
Use the v12.2.1 FullDeployment yaml to create a new environment with default settings.
Expected Results
CloudFormation template should complete fully and create all necessary resources.
Actual Results
CloudFormation template fails with errors such as:
The following resource(s) failed to create: [StorePasswordLambda, DeletePasswordLambda, RemovePermissionLambda]. Rollback requested by user.
Template error: IAM role pasoncloud-LambdaDeployRole-1TNJXSYRDHUMR doesn't exist
Template error: IAM role pasoncloud-LambdaRemovePermissionsRole-LPI7QK528XKR doesn't exist
Reproducible
Version/Tag number
12.2.1 CFT
Environment setup
Fresh AWS account environment
Additional Information
When the CloudFormation template fails with those errors, I can go to IAM and see that the roles were perfectly created. I think the issue is that it can take IAM a few seconds to make the role fully available, but the CloudFormation template does not wait for this to occur and just attempts to immediately use the roles which causes it to fail if there is any delay in IAM.
The text was updated successfully, but these errors were encountered: