Skip to content

Commit

Permalink
fix: backend for github users
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Lefevre <[email protected]>
  • Loading branch information
ArchiFleKs committed Apr 1, 2022
1 parent d007ff9 commit 49e51bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This is a comment.
# Each line is a file pattern followed by one or more owners.

# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
* @particuleio/team
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resource "vault_github_team" "github" {

resource "vault_github_user" "github" {
for_each = var.github_roles_users
backend = vault_github_auth_backend.github[each.key].id
backend = vault_github_auth_backend.github[each.value.organization].id
user = each.value.user
policies = try(each.value.policues, null)
}
Expand Down

0 comments on commit 49e51bd

Please sign in to comment.