Skip to content
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

Merged
merged 4 commits into from
Dec 4, 2024
Merged

Update localstack domain #120

merged 4 commits into from
Dec 4, 2024

Conversation

solomon-negusse
Copy link
Member

@solomon-negusse solomon-negusse commented Dec 3, 2024

This fixes connectivity issue between localstack and the microservice containers and updates the docs.

Copy link

@gtempus gtempus left a 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. 🙏


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..
Copy link

@gtempus gtempus Dec 3, 2024

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?

Copy link
Member Author

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.

Copy link

@gtempus gtempus left a 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?

@solomon-negusse
Copy link
Member Author

Great. Glad that worked out.

FYI, I used tfenv to manage my terraform version. Is that what you use?

Yup, makes life easier.

@solomon-negusse solomon-negusse merged commit ebfbd0e into dev Dec 4, 2024
@solomon-negusse solomon-negusse deleted the update-localstack-domain branch December 4, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants