You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I manage the infrastructure of a small organisation, and we use Atlantis to apply our Terraform configuration from a GitHub repository.
The repository with our Terraform configuration is set up so any developer can make PRs with changes, but they cannot be applied by Atlantis until one of the people in the GitHub infrastructure team has approved the PR. This is good and what I want.
The problem is, however, when I want to make changes to the the Terraform code myself. In that case I'd like to be able to make a PR, let Atlantis do the plan and then tell it to apply the changes, but I haven't worked out how to configure it to allow that.
The repository is currently set up to require a review from the code owners, and the CODEOWNERS file is configured to have all the files in the repository be owned by the infrastructure team.
Is there a way to allow me to get Atlantis to apply my PRs without any further approval, while still requiring people outside the infrastructure team to make a PR and have that approved first?
Approving my own PR doesn't seem to satisfy GitHub's check of getting an approval of the infrastructure team, which instead means I end up applying the changes outside of Atlantis in most cases, but having PRs with the changes would be good for adding visibility into the changes being made.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I manage the infrastructure of a small organisation, and we use Atlantis to apply our Terraform configuration from a GitHub repository.
The repository with our Terraform configuration is set up so any developer can make PRs with changes, but they cannot be applied by Atlantis until one of the people in the GitHub infrastructure team has approved the PR. This is good and what I want.
The problem is, however, when I want to make changes to the the Terraform code myself. In that case I'd like to be able to make a PR, let Atlantis do the plan and then tell it to apply the changes, but I haven't worked out how to configure it to allow that.
The repository is currently set up to require a review from the code owners, and the
CODEOWNERS
file is configured to have all the files in the repository be owned by the infrastructure team.Is there a way to allow me to get Atlantis to apply my PRs without any further approval, while still requiring people outside the infrastructure team to make a PR and have that approved first?
Approving my own PR doesn't seem to satisfy GitHub's check of getting an approval of the infrastructure team, which instead means I end up applying the changes outside of Atlantis in most cases, but having PRs with the changes would be good for adding visibility into the changes being made.
Beta Was this translation helpful? Give feedback.
All reactions