Link: https://aws.amazon.com/blogs/machine-learning/using-container-images-to-run-pytorch-models-in-aws-lambda/
Example: Using container images to run PyTorch models in AWS Lambda
Hi developers, I encounter this issue while working on the last step of this tutorial example.
sam build && sam deploy –-guided
...
Configuring SAM deploy
======================
Looking for config file \[samconfig.toml] : Not found
Setting default arguments for 'sam deploy'
=========================================
Stack Name \[sam-app]: lambda-pytorch-example
AWS Region \[ap-southeast-1]:
Image Repository for pytorchEndpoint: ...
#Shows you resources changes to be deployed and require a 'Y' to initiate deploy
Confirm changes before deploy \[y/N]:
#SAM needs permission to be able to create roles to connect to the resources in your template
Allow SAM CLI IAM role creation \[Y/n]:
pytorchEndpoint may not have authorization defined, Is this okay? \[y/N]: y
Save arguments to configuration file \[Y/n]:
SAM configuration file \[samconfig.toml]:
SAM configuration environment \[default]:
Looking for resources needed for deployment: Not found.
Creating the required resources...
Error: Failed to create managed resources: Waiter StackCreateComplete failed: Waiter encountered a terminal failure state: For expression "Stacks[].StackStatus" we matched expected path: "ROLLBACK_COMPLETE" at least once
==================================================================================
I have tried googling, but unfortunately I have found nothing similar. May I request for help to resolve this issue.
Thank you very much.
Edited by: Tharraleos on Feb 22, 2021 11:46 AM
Edited by: Tharraleos on Feb 22, 2021 11:55 AM