In this step we will publish our stack to AWS.
aws s3api create-bucket --bucket PetStore --region us-east-1 --acl private
sam deploy -t .\Stacks\Dev\serverless.template --stack-name PetStoreDev --s3-bucket petstore --capabilities CAPABILITY_NAMED_IAM
MacOS/Linux: sam deploy -t ./Stacks/Dev/serverless.template --stack-name PetStoreDev --s3-bucket petstore --capabilities CAPABILITY_NAMED_IAM
The PetStoreDev stack is deployed to AWS.
lazystack settings PetStoreDev .\Stacks\Dev\AwsSettings.json
MacOS/Linux: lazystack settings PetStoreDev ./Stacks/Dev/AwsSettings.json
An AwsSettings.json file is placed in the Stacks\Dev folder. This file contains the configuration settings
necessary for client apps to use the PetStoreDev AWS Stack.We published our stack to AWS, generated an AwsSettings.json file and can now use those resources.