From 473ab9383e80fd8520a3921b87a8e46aa220afd3 Mon Sep 17 00:00:00 2001 From: Mridang Agarwalla Date: Mon, 25 Nov 2024 13:24:25 +0700 Subject: [PATCH] Updated the Readme with instructions about how to deploy the sample Cloudformation template. --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f6bc50..874f2ca 100644 --- a/README.md +++ b/README.md @@ -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