User Guide / Using CloudFormation |
This topic describes some of the issues that can happen with CloudFormation. It also talks about how you can detect these issues, and offers some ways to fix the issues.
euform-create-stack: error (ValidationError): Unexpected end-of-input: expected close marker for OBJECT (from [Source: java.io.StringReader@56b3916d; line: 1, column: 0]) at [Source: java.io.StringReader@56b3916d; line: 38, column : 849]
If you see an error like this, there is most likely something syntactically wrong with your JSON template. Some editors can detect things like unbalanced parentheses, but in the worst case you can paste your template into this URL http://jsonparseronline.com/ and it will help you find syntax errors.
euform-create-stack: error (AlreadyExists): Stack already exists
euform-create-stack: error (ValidationError): Template format error: Unresolved resource dependencies [MySecurityGroup2] in the Resources block of the template>
You can also manually delete resources if they are causing issues. If a euform-delete-stack fails, you can delete the offending resource and try again.