comparison README.md @ 3:5c36f51105c2

fetch tweets working
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Thu, 16 Sep 2021 16:51:59 +0200
parents 0277e7fc0f0a
children 54e71cf6e324
comparison
equal deleted inserted replaced
2:561bc303784f 3:5c36f51105c2
8 - template.yaml - A template that defines the application's AWS resources. 8 - template.yaml - A template that defines the application's AWS resources.
9 9
10 The application uses several AWS resources, including Lambda functions and an API Gateway API. 10 The application uses several AWS resources, including Lambda functions and an API Gateway API.
11 These resources are defined in the `template.yaml` file in this project. You can update the template to add AWS 11 These resources are defined in the `template.yaml` file in this project. You can update the template to add AWS
12 resources through the same deployment process that updates your application code. 12 resources through the same deployment process that updates your application code.
13
14 ## Secrets
15 There are some process that must be made manually, such us secrets creation in AWS Secrets Manager. Before deploying
16 the application do the following:
17
18 **Create Twitter keys**:
19 - Go to AWS Secrets Manager Console
20 - Create `Other type of secrets`
21 - Create two keys called `KEY` and `BEARER`
22 - Add the values for each one
23 - Name the secret `tweet-analysis-keys`
13 24
14 ## Deploy the application 25 ## Deploy the application
15 26
16 The Serverless Application Model Command Line Interface (SAM CLI) is an extension of the AWS CLI that adds functionality 27 The Serverless Application Model Command Line Interface (SAM CLI) is an extension of the AWS CLI that adds functionality
17 for building and testing Lambda applications. It uses Docker to run your functions in an Amazon Linux environment that 28 for building and testing Lambda applications. It uses Docker to run your functions in an Amazon Linux environment that