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

feat: add aws assume role support for ssm #30

Merged
merged 1 commit into from Dec 10, 2023

Conversation

syphernl
Copy link
Contributor

This adds an optional aws_assume_role input which is used in the SSM tunnel.
It will assume a given role before starting the tunnel.

In our use-case we run Terraform in a separate account, which needs to assume a role into the target account before it can do any actions.
For normal Terraform this is handled using the assume_role functionality of the aws provider, but in this particular case we need to explicitly assume the role ourselves.

With these changes we were able to use the module without getting a "Permission Denied" error.

@flaupretre flaupretre merged commit 4e0ce58 into flaupretre:master Dec 10, 2023
@syphernl syphernl deleted the feat/assume_role branch December 10, 2023 15:48
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.

None yet

2 participants