Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

nearform/aws-serverless-gateway-pattern

Repository files navigation

AWS serverless event gateway pattern

Architecture

Architecture

Deploy the solution

$ terraform init
$ terraform apply

Test

api=$(terraform output -json | jq -r .orders_api_gateway_url.value)
echo "Orders Api Gateway - $api"

Create a new order.

order=$(curl -XPOST "$api"prod/orders -s | jq -r ".body | fromjson")
echo "New Order is \n$order"

Check that the order state is shipped.

id=$(echo "$order" | jq -r .order_id)
curl -XGET "$api"prod/order/"$id" -s | jq ".body | fromjson | ."

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks