aws-samples / aws-samples/amazon-chime-sdk

The televisit deployment fails

Open
#151 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
116
Forks
133
PR merge metrics
No merged PRs in 30d

Description

**Demo**
Specify the name of the demo that you encountered the bug.

**Describe the bug**

Running the `./deploy.sh` script failed with the following errors:

```
Deploy this changeset? [y/N]: y

2022-02-11 15:18:03 - Waiting for stack create/update to complete

CloudFormation events from changeset
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ResourceStatus ResourceType LogicalResourceId ResourceStatusReason
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CREATE_IN_PROGRESS AWS::CloudFront::CloudFrontOriginAccessIdent CloudFrontDistributionAccessIdentity -
ity
CREATE_IN_PROGRESS AWS::S3::Bucket createWebSiteS3Bucket -
CREATE_FAILED AWS::S3::Bucket createWebSiteS3Bucket frontenddeploy already exists
CREATE_FAILED AWS::CloudFront::CloudFrontOriginAccessIdent CloudFrontDistributionAccessIdentity Resource creation cancelled
ity
ROLLBACK_IN_PROGRESS AWS::CloudFormation::Stack chime-sdk-televisit-frontend The following resource(s) failed to create:
[createWebSiteS3Bucket,
CloudFrontDistributionAccessIdentity].
Rollback requested by user.
DELETE_COMPLETE AWS::S3::Bucket createWebSiteS3Bucket -
DELETE_COMPLETE AWS::CloudFront::CloudFrontOriginAccessIdent CloudFrontDistributionAccessIdentity -
ity
ROLLBACK_COMPLETE AWS::CloudFormation::Stack chime-sdk-televisit-frontend -
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Error: Failed to create/update the stack: chime-sdk-televisit-frontend, Waiter StackCreateComplete failed: Waiter encountered a terminal failure state: For expression "Stacks[].StackStatus" we matched expected path: "ROLLBACK_COMPLETE" at least once

Copying Files to S3
upload failed: dist/chat-bundle.js to s3://None/chat-bundle.js An error occurred (NoSuchBucket) when calling the CreateMultipartUpload operation: The specified bucket does not exist
upload failed: dist/chat.html to s3://None/chat.html An error occurred (NoSuchBucket) when calling the PutObject operation: The specified bucket does not exist
```

The frontend stack failed in the CloudFormation console. The last status is **ROLLBACK_COMPLETE**.

**To Reproduce**
Steps to reproduce the behavior:
1. Clone https://github.com/aws-samples/amazon-chime-sdk/tree/main/apps/televisit-demo
2. Run the deployment script:
```
cd apps/televisit-demo
./deploy.sh
```

**Expected behavior**
A clear and concise description of what you expected to happen.

The deployment should succeed without any error.

**Desktop (please complete the following information):**
- OS: macOS 11.6.2
- Browser: N/A
- Version: N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.