Update aws-cs-lambda README
MODIFY
aws-cs-lambda/README.md
aws-cs-lambda/README.md
# AWS C# Lambda
-This example creates a lambda that does a simple `.toUpper` on the string input and returns it.
+This example creates an AWS Lambda function that does a simple `.toUpper` on the string input and returns it.
## Deploying the App
-To deploy your infrastructure, follow the below steps.
+To deploy your infrastructure, follow the steps below.
### Prerequisites
@@ -21,18 +21,30 @@ dotnet publish ./DotnetLambda/src/DotnetLambda/
```
2. Execute our Pulumi program to archive our published function output, and create our lambda.
+
```bash
pulumi up -C ./pulumi
```
-3. Call our lambda function from the aws cli.
+3. Call our Lambda function from the AWS CLI with "foo" as the payload.
+
```bash
aws lambda invoke \
--function-name $(pulumi stack output Lambda -C ./pulumi) \
--region $(pulumi config get aws:region -C ./pulumi) \
+ --cli-binary-format raw-in-base64-out \
--payload '"foo"' \
output.json
cat output.json # view the output file with your tool of choice
# "FOO"
```
+
+6. From there, feel free to experiment. Simply making edits, rebuilding your handler, and running `pulumi up` will update your function.
+
+7. Afterwards, destroy your stack and remove it:
+
+ ```bash
+ pulumi destroy --yes
+ pulumi stack rm --yes
+ ```

Update aws-cs-lambda README (#837)