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
@@ -39,6 +39,8 @@ To get started with component, install the latest version of the Serverless Fram
39
39
$ npm install -g serverless
40
40
```
41
41
42
+
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).
43
+
42
44
### 2. Initialize
43
45
44
46
The easiest way to start using the `aws-lambda-layer` component is by initializing the `aws-lambda-layer-starter` template. Just run this command:
This will also create an empty `.env` file. Open that `.env` file and can add in your AWS credentials:
52
-
53
-
```
54
-
# .env
55
-
AWS_ACCESS_KEY_ID=XXX
56
-
AWS_SECRET_ACCESS_KEY=XXX
57
-
```
58
-
59
53
### 3. Deploy
60
54
61
55
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