You can verify your AWS credentials by running the following command:
aws sts get-caller-identity
# {
# "UserId": "[id]",
# "Account": "[id]",
# "Arn": "arn:aws:iam::[id]:user/[iam-user-name]"
# }
And verify the SST CLI is installed by running:
which sst
# /usr/local/bin/sst
Now you're ready to go!
The following command will create a new SST project in a directory called my-sst-app
:
npx degit @ryanflorence/templates/sst my-sst-app
Change into the new directory and deploy the app. The first deploy may take a few minutes as it provisions the necessary resources.
sst deploy