-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloud formation package exit with error 255 #3280
Comments
Are you getting any other output? If not try adding |
Pavan, is there any chance you are trying to package a node.js application? If so look further up in the logs to see if you are seeing an error about timestaps. It might be related to this: npm/npm#19968. I stumbled upon this issue as it just happened to me in a previously working Serverless project. This other post: aws/aws-sdk-js#1977 (comment) helped me solve this (for now). |
@teknogeek0 Yes, this is nodejs application, we use this as lambda function. I have tried the option that you mentioned, but still the same issue. I get this error while packaging. Spec file below:
|
We would still need the debug output to be able to provide any help. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Hi, I also see the same error. Any update on this? I am just trying to create an S3 bucket and API gateway via my CF template. |
You probably have typo in your template.yml. I had the same issue and the error has been fixed after I corrected the typo. |
I have cloudformation package command runs with build option from codepipeline. But I get error 255; which was not happened before.
Error while executing command: aws cloudformation package --template samTemplate-dev.yml --s3-bucket $S3_BUCKET --output-template-file template-export-dev.yml. Reason: exit status 255
Please some one address.
The text was updated successfully, but these errors were encountered: