Skip to content

Commit

Permalink
Updated the Readme with instructions about how to deploy the sample C…
Browse files Browse the repository at this point in the history
…loudformation template.
  • Loading branch information
mridang committed Nov 25, 2024
1 parent 11a0d37 commit 473ab93
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,15 @@ The layer requires two environment variables to be set:

#### Example

A sample Cloudformation template is available under the `etc` directory.
A sample Cloudformation template is available under the `etc` directory
and can be deployed using the following command:

```
aws cloudformation deploy --template-file etc/template.json \
--stack-name="example-rollcage-production" \
--parameter-overrides SentryDsn="https://a0ae9168ae01c272f11c328b55aaaaa3@o4506874198111111.ingest.us.sentry.io/4507145788391424" \
--capabilities CAPABILITY_NAMED_IAM
```

When deployed, this template creates a simple NodeJS-based Lambda function
with a function URL. When invoked, the function simply crashes since
Expand Down

0 comments on commit 473ab93

Please sign in to comment.