Create Amazon SNS Topic
Create Amazon SNS Topic
- Open the template.yaml file in VS Code.
- From the directory tree (Explorer) on the left side of VS Code, open the SAM template file at the path:
code/lab-1/template.yaml
- In the Resources section, uncomment the following code (tip: highlight the commented section and press Ctrl + /):
RideCompletionTopic:
Type: AWS::SNS::Topic
Properties:
TopicName: RideCompletionTopic

- Open the Terminal in VS Code and perform a rebuild of the AWS SAM template:
cd ~/wild-rydes-async-messaging/code/lab-1
sam build --use-container

- Deploy the initialization of the SNS topic:
