You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The issue is that the default frontend bucket name is frontenddeploy.
We should append random strings or let CF choose the name if a builder does not provide it.
If a builder provides a duplicated bucket name, the deployment step should warn and let them choose a new name. Currently, the frontend stack's deployment is automatically rolled back for duplicate name errors. A builder needs to delete all stacks and buckets to try again.
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:The frontend stack failed in the CloudFormation console. The last status is ROLLBACK_COMPLETE.
To Reproduce
Steps to reproduce the behavior:
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):
The text was updated successfully, but these errors were encountered: