jblakley / ScannerEKSQS

MIT License
0 stars 0 forks source link

Graceful handling of StackCreateComplete #6

Open jblakley opened 5 years ago

jblakley commented 5 years ago

After creating the cluster. It loops attempting to create the cluster workers. There are a few errors before this error that cause it:

The failure causes the removal of all workers.

From AWS docs: ROLLBACK_COMPLETE: Successful removal of one or more stacks after a failed stack creation or after an explicitly canceled stack creation. Any resources that were created during the create stack action are deleted.

jblakley commented 5 years ago

Create_eks_cluster.sh now checks for "CREATE_COMPLETE". May want to explicitly delete the cluster if creation fails.