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

Add --aws-redirect-host cli arg to allow using Iamlive with Localstack #78

Merged
merged 2 commits into from
Jun 28, 2024

Conversation

rulio
Copy link
Contributor

@rulio rulio commented Jun 28, 2024

--aws-redirect-host cli arg sets the endpoint to which all aws requests will be redirected.

This is intended to be used with localstack. One would forward requests proxied through Iamlive to localstack rather than aws. Iamlive outputs the Iam Policies bases on the AWS API requests and forwards to Localstack which builds the resources.

I have setup a repo showing how this could be accomplished using Docker proxying: https://github.com/rulio/iamlive-localstack/

That repo builds a version of Iamlive that includes this change.

rulio and others added 2 commits June 27, 2024 18:51
--aws-redirect-host cli arg sets the endpoint to which all aws requests will be redirected.

This is useful for localstack, all requests can be processed as normal but forwarded to a localstack instance instead of AWS.
Copy link
Owner

@iann0036 iann0036 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Slight tweak for consistency, otherwise LGTM. I'll cut a release probably later today.

Thanks for contributing!

@iann0036 iann0036 merged commit 09863ac into iann0036:main Jun 28, 2024
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