-
Notifications
You must be signed in to change notification settings - Fork 134
Description
Demo
[Specify the name of the demo that you encountered the bug.]
telehealth-widget - (https://github.com/aws-samples/amazon-chime-sdk/tree/main/apps/telehealth-widget)
Describe the bug
A clear and concise description of what the bug is.
The CF fails at PSTNCustomResource6DC15E41 - CREATE_FAILED -
/aws/lambda/AmazonChimeSdkTelehealthW-PSTNCreatePstnFunction52-hBLZhQLLmw3z at Runtime.exports.handler (/var/task/index.js:70522:13) at processTicksAndRejections (internal/process/task_queues.js:95:5) (RequestId: 03f4fb37-ec8f-4032-a589-bf01ba165395)
AND
DistributionCFDistributionB74B3E76 CREATE_FAILED - Resource creation cancelled
CF then rollsback.
0:24:04 PM | CREATE_FAILED | AWS::CloudFormation::CustomResource | PSTNCustomResource6DC15E41
Received response status [FAILED] from custom resource. Message returned: Failed to create: Failed to get the phone number because the phone number (+18553398245) order status did not change to "Successful" for more than a minute.
Logs: /aws/lambda/AmazonChimeSdkTelehealthW-PSTNCreatePstnFunction52-hBLZhQLLmw3z
at Runtime.exports.handler (/var/task/index.js:70522:13)
at processTicksAndRejections (internal/process/task_queues.js:95:5) (RequestId: 03f4fb37-ec8f-4032-a589-bf01ba165395)
❌ AmazonChimeSdkTelehealthWidgetDemo failed: Error: The stack named AmazonChimeSdkTelehealthWidgetDemo failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Received response status [FAILED] from custom resource. Message returned: Failed to create: Failed to get the phone number because the phone number (+18553398245) order status did not change to "Successful" for more than a minute.
Logs: /aws/lambda/AmazonChimeSdkTelehealthW-PSTNCreatePstnFunction52-hBLZhQLLmw3z
at Runtime.exports.handler (/var/task/index.js:70522:13)
at processTicksAndRejections (internal/process/task_queues.js:95:5) (RequestId: 03f4fb37-ec8f-4032-a589-bf01ba165395)
at prepareAndExecuteChangeSet (/home/ubuntu/environment/amazon-chime-sdk/apps/telehealth-widget/backend/node_modules/aws-cdk/lib/api/deploy-stack.ts:386:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at CdkToolkit.deploy (/home/ubuntu/environment/amazon-chime-sdk/apps/telehealth-widget/backend/node_modules/aws-cdk/lib/cdk-toolkit.ts:219:24)
at initCommandLine (/home/ubuntu/environment/amazon-chime-sdk/apps/telehealth-widget/backend/node_modules/aws-cdk/lib/cli.ts:347:12)
The stack named AmazonChimeSdkTelehealthWidgetDemo failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Received response status [FAILED] from custom resource. Message returned: Failed to create: Failed to get the phone number because the phone number (+18553398245) order status did not change to "Successful" for more than a minute.
Logs: /aws/lambda/AmazonChimeSdkTelehealthW-PSTNCreatePstnFunction52-hBLZhQLLmw3z
at Runtime.exports.handler (/var/task/index.js:70522:13)
at processTicksAndRejections (internal/process/task_queues.js:95:5) (RequestId: 03f4fb37-ec8f-4032-a589-bf01ba165395)
--
To Reproduce
Steps to reproduce the behavior:
- Go to '...' npm run deploy
- CREATE_FAILED
Expected behavior
A clear and concise description of what you expected to happen.
Demo should deploy correctly.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.