Great insight Gary, Thank you. One question: If I run `sls` second time (after successful create attempt), will it try to create again same dynamodb table?
It all depends on what you decide to do in that scenario. First you would have to find a way to keep track of the state of your deployed project, and then check on all deploys: Is this a new project, or am I updating? Thankfully, all the components serverless inc has been making themselves is open source, so you can checkout how they are accomplishing it. For example, in the aws-dynamodb component, they are doing a check here: github.com/serverless-components/aws-dynamodb/blob/master/serverless.js#L57
You explained perfect and in depth, Awesome! Just subscribed ;)
Great insight Gary, Thank you.
One question: If I run `sls` second time (after successful create attempt), will it try to create again same dynamodb table?
It all depends on what you decide to do in that scenario. First you would have to find a way to keep track of the state of your deployed project, and then check on all deploys: Is this a new project, or am I updating? Thankfully, all the components serverless inc has been making themselves is open source, so you can checkout how they are accomplishing it. For example, in the aws-dynamodb component, they are doing a check here: github.com/serverless-components/aws-dynamodb/blob/master/serverless.js#L57