I’ve installed a brand new rack on the latest version, created a new app, and am trying to deploy the first release. I’m getting this error, and the deploy rolls back:
2019-04-27T20:03:38Z system/aws/cfm myapp-enterprise-myapp CREATE_IN_PROGRESS ServiceWorker
2019-04-27T20:03:38Z system/aws/cfm myapp-enterprise-myapp CREATE_IN_PROGRESS ServiceWeb
2019-04-27T20:03:38Z system/aws/cfm myapp-enterprise-myapp CREATE_IN_PROGRESS TimerSubmissionExpiration
2019-04-27T20:03:39Z system/aws/cfm myapp-enterprise-myapp CREATE_FAILED ServiceWorker Template format error: Unresolved resource dependencies [AutoscalingTarget] in the Resources block of the template
2019-04-27T20:03:39Z system/aws/cfm myapp-enterprise-myapp CREATE_FAILED ServiceWeb Template format error: Unresolved resource dependencies [AutoscalingTarget] in the Resources block of the template
2019-04-27T20:03:39Z system/aws/cfm myapp-enterprise-myapp-TimerSubmissionExpiration-1KYAKENP9K7QD CREATE_IN_PROGRESS myapp-enterprise-myapp-TimerSubmissionExpiration-1KYAKENP9K7QD User Initiated
2019-04-27T20:03:39Z system/aws/cfm myapp-enterprise-myapp CREATE_FAILED TimerSubmissionExpiration Resource creation cancelled
2019-04-27T20:03:40Z system/aws/cfm myapp-enterprise-myapp UPDATE_ROLLBACK_IN_PROGRESS myapp-enterprise-myapp The following resource(s) failed to create: [TimerSubmissionExpiration, ServiceWeb, ServiceWorker].
2019-04-27T20:03:44Z system/aws/cfm myapp-enterprise-myapp UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS myapp-enterprise-myapp
2019-04-27T20:03:44Z system/aws/cfm myapp-enterprise-myapp-TimerSubmissionExpiration-1KYAKENP9K7QD CREATE_IN_PROGRESS TaskDefinition
2019-04-27T20:03:45Z system/aws/cfm myapp-enterprise-myapp-TimerSubmissionExpiration-1KYAKENP9K7QD CREATE_IN_PROGRESS TaskDefinition Resource creation Initiated
2019-04-27T20:03:45Z system/aws/cfm myapp-enterprise-myapp-TimerSubmissionExpiration-1KYAKENP9K7QD CREATE_COMPLETE TaskDefinition
2019-04-27T20:03:46Z system/aws/cfm myapp-enterprise-myapp DELETE_COMPLETE ServiceWeb
2019-04-27T20:03:46Z system/aws/cfm myapp-enterprise-myapp DELETE_IN_PROGRESS RecordSetWebInternal
2019-04-27T20:03:46Z system/aws/cfm myapp-enterprise-myapp DELETE_IN_PROGRESS TimerSubmissionExpiration
2019-04-27T20:03:46Z system/aws/cfm myapp-enterprise-myapp DELETE_COMPLETE ServiceWorker
2019-04-27T20:03:46Z system/aws/cfm myapp-enterprise-myapp-TimerSubmissionExpiration-1KYAKENP9K7QD DELETE_IN_PROGRESS myapp-enterprise-myapp-TimerSubmissionExpiration-1KYAKENP9K7QD User Initiated
ERROR: rollback
My convox.yml
:
services:
web:
...
scale:
memory: 1024
cpu: 512
count: 0
targets:
cpu: 80
memory: 90
requests: 300
worker:
...
scale:
memory: 1024
cpu: 512
count: 0
targets:
cpu: 80
memory: 90
I guess something is going wrong with the AutoScaling for the first deploy, before any resources have been created. I guess I can remove the scale
configuration on the first deployment, and then add it later. But it would be great if I didn’t need to do that.
Thanks!