serverless / serverless/examples
aws-node-single-page-app-via-cloudfront errors when deploying
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11.5k
- Forks
- 4.4k
- Avg merge
- 2h 55m
- Merged PRs (30d)
- 3
Description
I got the following error when deploying:
Serverless Error ---------------------------------------
An error occurred while provisioning your stack: WebAppS3BucketPolicy
- Policy has invalid resource.
There's not much to debug from here.
Edit:
If I try to deploy again, I get this error:
Serverless Error ---------------------------------------
Stack:arn:aws:cloudformation:us-east-1:162064893105:stack/single-page-app-via-cloudfront7-dev/9b33a8c0-f558-11e6-a02b-50d5ca6e6082
is in UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS state
and can not be updated.
Edit 2:
If I wait long enough, the UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS error goes away but I'm still getting the policy error.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report names the aws-node-single-page-app-via-cloudfront deployment and the WebAppS3BucketPolicy provisioning failure, but no source file or expected behavior. Reproduce the deployment and inspect that example's policy configuration; done means the example deploys without the invalid-resource error and can be retried after rollback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100