How do I troubleshoot a CloudFormation stack deployment failure because of an existing AWS KMS key alias?
所要時間1分
0
When I redeploy my AWS CloudFormation stack, the stack fails with the following error: "alias already exists."
Short description
When a CloudFormation stack fails, the stack deletes resources that it created. As a safety measure, AWS Key Management Service (AWS KMS) keys have a minimum 7-day deletion period. If you redeploy the stack before the 7-day deletion period is over, then the stack fails because the alias still exists.