siilisolutions / hedge

a serverless solution for clojure
Eclipse Public License 1.0
39 stars 6 forks source link

AWS handle cloudformation error states #63

Open jikuja opened 6 years ago

jikuja commented 6 years ago

E.g. execute changeset errored => rollback done => impossible to redeploy

com.amazonaws.services.cloudformation.model.AmazonCloudFormationException: Stack:arn:aws:cloudformation:eu-west-3:027154946913:stack/parametrized-test-01/6d59ef40-0452-11e8-b931-50841cc2b262 is in ROLLBACK_COMPLETE state and can not be updated. (Service: AmazonCloudFormation; Status Code: 400; Error Code: ValidationError; Request ID: 8b05587a-0453-11e8-ac2a-810960439fcd)
       errorCode: "ValidationError"
    errorMessage: "Stack:arn:aws:cloudformation:eu-west-3:027154946913:stack/parametrized-test-01/6d59ef40-0452-11e8-b931-50841cc2b262 is in ROLLBACK_COMPLETE state and can not be updated."
       errorType: #object[com.amazonaws.AmazonServiceException$ErrorType 0x37b52340 "Client"]
     httpHeaders: {"Connection" "close", "Content-Length" "426", "Content-Type" "text/xml", "Date" "Sun, 28 Jan 2018 17:49:09 GMT", "x-amzn-RequestId" "8b05587a-0453-11e8-ac2a-810960439fcd"}
       requestId: "8b05587a-0453-11e8-ac2a-810960439fcd"
       retryable: true
     serviceName: "AmazonCloudFormation"
      statusCode: 400
                                               clojure.lang.ExceptionInfo: Stack:arn:aws:cloudformation:eu-west-3:027154946913:stack/parametrized-test-01/6d59ef40-0452-11e8-b931-50841cc2b262 is in ROLLBACK_COMPLETE state and can not be updated. (Service: AmazonCloudFormation; Status Code: 400; Error Code: ValidationError; Request ID: 8b05587a-0453-11e8-ac2a-810960439fcd)
    line: 15