-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update localstack domain #120
Conversation
… container and vice versa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did get this up and running, @solomon-negusse. 🎉
However, I need to get a microservice successfully stood up to try it out. Let's get gfw-area
when you have a chance tomorrow. 🙏
terraform-localstack/README.md
Outdated
|
||
3 - Start microservices with the following GATEWAY_URL: | ||
|
||
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.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did get this access url. But the logs give me this warning:
localstack.deprecations : /restapis/<api_id>/<stage>/_user_request_ is deprecated (since 3.8.0) and will be removed in upcoming releases of LocalStack! Use /_aws/execute-api/<api_id>/<stage> instead.
Should we use that path instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Hit this issue: localstack/localstack#10461 using that endpoint though as the localstack/localstack
image we use doesn't have the fix so pinning to a later image version (localstack/localstack:4.0.3
) with the fix.
…to backend when using the recommended /_aws/execute-api endpoint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great. Glad that worked out.
FYI, I used tfenv
to manage my terraform version. Is that what you use?
Yup, makes life easier. |
This fixes connectivity issue between localstack and the microservice containers and updates the docs.