Skip to content

Terragrunt repository/directory layout to implement least access privilege #698

Answered by brikis98
blueelephants asked this question in Help
Discussion options

You must be logged in to vote

This is more of a question of your deployment workflow than of Terragrunt. Even if you weren't using Terragrunt, and solely using Terraform, you'd still have to resolve the question of "how do I decide which parts of my infrastructure code can be updated by which devs?"

There are many different ways to answer this question. Here are just a few:

  1. Use multiple repos, and to only grant certain devs access to certain repos. This is the idea you mention in your post above, and it can work, but please be aware of the trade offs between a monorepo vs polyrepos for managing your live infrastructure. Also, note that depending on how granular your access privileges need to be, creating separate rep…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@blueelephants
Comment options

Answer selected by blueelephants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment