Skip to content

apigw-sqs-terraform: Fix service name correctly #2790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apigw-sqs-terraform/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AWS API Gateway HTTP APIs to Amazon SQS for buffering
# Amazon API Gateway REST APIs to Amazon SQS for buffering

In this pattern, called "Queue based leveling", a serverless queue is introduced between your API Gateway and your workers, which can be a Lambda function for example.

Expand Down Expand Up @@ -58,9 +58,9 @@ The API Gateway handles incoming requests, but instead of invoking for example a

## Testing

1. Run the following command to send an HTTP `POST` request to the HTTP APIs endpoint. Note, you must edit the {MyHttpAPI} placeholder with the URL of the deployed HTTP APIs endpoint. This is provided in the terraform outputs. You can also find the same command automatically generated in the terraform output.
1. Run the following command to send an HTTP `POST` request to the Rest APIs endpoint. Note, you must edit the {MyRestAPI} placeholder with the URL of the deployed Rest APIs endpoint. This is provided in the terraform outputs. You can also find the same command automatically generated in the terraform output.
```bash
curl --location --request POST '{MyHttpAPI}/submit'
curl --location --request POST '{MyRestAPI}/submit'
> --header 'Content-Type: application/json' \
> --data-raw '{ "isMessageReceived": "Yes" }'
```
Expand Down