You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-8Lines changed: 2 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,8 @@ To get started with component, install the latest version of the Serverless Fram
40
40
$ npm install -g serverless
41
41
```
42
42
43
+
After installation, make sure you connect your AWS account by setting a provider in the org setting page on the [Serverless Dashboard](https://app.serverless.com).
44
+
43
45
### 2. Initialize
44
46
45
47
The easiest way to start using the `aws-lambda` component is by initializing the `aws-lambda-starter` template. Just run this command:
This will also create an empty `.env` file. Open that `.env` file and add in your AWS credentials:
53
-
54
-
```
55
-
# .env
56
-
AWS_ACCESS_KEY_ID=XXX
57
-
AWS_SECRET_ACCESS_KEY=XXX
58
-
```
59
-
60
54
### 3. Deploy
61
55
62
56
Once you have the directory set up, you're now ready to deploy. Just run the following command from within the directory containing the `serverless.yml` file:
0 commit comments