2. Install SAM CLI as explained in this guide
sam init
setup deployment specs in samconfig.toml
sam deploy --guided
setup deployment specs in samconfig.toml
sam local start-api --region ap-southeast-1
Follows step 1-3 as above. Then invoke deploy command.
sam build && sam deploy --stack-name double-entry-api
This will update the stack on cloud if the local files were changed.
sam sync --stack-name double-entry-api --region ap-southeast-1 --watch
// OR specify --resource-id defined in template.yaml
sam sync --stack-name double-entry-api --region ap-southeast-1 --resource-id CurrencyFund --watch