Skip to content

Commit

Permalink
update deprecated gateway endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
solomon-negusse committed Dec 4, 2024
1 parent 3bd52a4 commit 64ae7e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion terraform-localstack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ In local development, we use localstack to emulate API Gateway functionality of
docker run --rm -it -p 4566:4566 localstack/localstack:4.0.3
```

2 - Terraform apply the content of this folder and confirm the changes in the prompt (use terraform version `v1.3.6`). This will output an `access_url` of the form `http://host.docker.internal:4566/restapis/{gateway_id}/prod/_user_request_`. If you choose to use a different port in Step 1, update the access_url variable in outputs.tf to reflect the chosen port..
2 - Terraform apply the content of this folder and confirm the changes in the prompt (use terraform version `v1.3.6`). This will output an `access_url` of the form `http://host.docker.internal:4566/_aws/execute-api/{gateway_id}/prod`. If you choose to use a different port in Step 1, update the access_url variable in outputs.tf to reflect the chosen port..
```bash
terraform apply
```
Expand Down
2 changes: 1 addition & 1 deletion terraform-localstack/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ output "api_gateway_id" {
}

output "access_url" {
value = "http://host.docker.internal:4566/restapis/${aws_api_gateway_rest_api.rw_api_gateway.id}/prod/_user_request_"
value = "http://host.docker.internal:4566/_aws/execute-api/${aws_api_gateway_rest_api.rw_api_gateway.id}/prod"
}

0 comments on commit 64ae7e4

Please sign in to comment.