I've create sam project file through sam init
.
I've chosen "nodejs14.x" runtime and hello world template
sam build
seems good.
But sam deploy --guided
failed and error message is
Looking for resources needed for deployment:
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
In the aws cloudFormation console, I found that bucket policy creation is failed.
I've configured aws credential with administrator role(Permission: AdministratorAccess), so I bet, it is granted to create bucket policy. Then, what's wrong with my project? Please help me.