Skip to content

feat: allow adding more trusted principals to task role (users and ro… #173

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

Closed
wants to merge 6 commits into from
Closed

feat: allow adding more trusted principals to task role (users and ro… #173

wants to merge 6 commits into from

Conversation

kainlite
Copy link

@kainlite kainlite commented Dec 20, 2020

Description

This is adding another variable to be able to give some users or other roles the ability to assume the atlantis role, this can be refactored probably but I didn't want to add any breaking change for this simple requirement.

Motivation and Context

While debugging it comes handy to be able to invoke terraform as atlantis does to speed things up, also this is particularly useful when importing resources.

Breaking Changes

Optional variable, it should be a no op if empty.

How Has This Been Tested?

Tested referencing my own branch.

@parmouraly
Copy link
Contributor

parmouraly commented Dec 23, 2020

Hey @kainlite

Additional trusted principals are already supported from release 2.27.0

https://github.com/terraform-aws-modules/terraform-aws-atlantis/blob/master/variables.tf#L242-L246

@kainlite
Copy link
Author

kainlite commented Dec 23, 2020

Hey @kainlite

Additional trusted principals are already supported from release 2.27.0

https://github.com/terraform-aws-modules/terraform-aws-atlantis/blob/master/variables.tf#L242-L246

Yes this is very similar, but the trusted_principals is only for AWS Services, my PR gives you the possibility to allow users or other roles to assume the atlantis role, this is particularly useful when importing, so your state gets the right permissions, owner, etc and you don't need to do any additional patching afterwards.

@parmouraly
Copy link
Contributor

Yes this is very similar, but the trusted_principals is only for AWS Services, my PR gives you the possibility to allow users or other roles to assume the atlantis role, this is particularly useful when importing, so your state gets the right permissions, owner, etc and you don't need to do any additional patching afterwards.

Got you, makes sense 👍
I don't perform imports via Atlantis but I guess if you are then I can see the value.

@kainlite
Copy link
Author

Updated from master

@OneBadSanta
Copy link
Contributor

I need this functionality as well. This has been sitting for a while. Is there any technical reason why this has not been merged?

@antonbabenko
Copy link
Member

Please use v2.37.0 which has been just released (#193).

@github-actions
Copy link

github-actions bot commented Nov 9, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants