Farm (stack) is not deploying correctly
Stack building can fail due to errors during the build process, such as server issues or lack of resources in third-party repositories.
Build Review
Check the status of builds. In case of failure:
- Check the status of builds and, in case of failure, delete the stack and recreate it.
- Consult CodeBuild logs to identify specific errors during the build process.
ROLLBACK_COMPLETE, ROLLBACK_FAILED, CREATE_FAILED or other status errors
If the stack is in a failed state:
- Delete the stack from the CloudFormation console and recreate it.
- Review CloudFormation events (logs) to understand the cause of the failure and take necessary actions.
Availability of Resources in AWS regions
Check the availability of resources (logs) in the AWS region where the stack is being created. EC2 G5/G6 instances are only available in certain regions. If there are no resources available:
- Consider creating stacks in other regions where the necessary instances are available.