-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed gitlab-permissions module to gitlab-authorization
- Loading branch information
Showing
11 changed files
with
69 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
live/ci/gitlab-permissions/terragrunt.hcl → live/ci/gitlab-authorization/terragrunt.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
live/dev/gitlab-permissions/terragrunt.hcl → live/dev/gitlab-authorization/terragrunt.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
live/prod/gitlab-permissions/terragrunt.hcl → .../prod/gitlab-authorization/terragrunt.hcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
data "gitlab_group" "top_level_group" { | ||
full_path = var.top_level_group_full_path | ||
} | ||
|
||
resource "gitlab_group_ldap_link" "developers_group" { | ||
group = data.gitlab_group.top_level_group.id | ||
cn = var.ldap_developers_group | ||
group_access = "developer" | ||
ldap_provider = "ldapmain" | ||
} | ||
|
||
resource "gitlab_group_ldap_link" "owners_group" { | ||
group = data.gitlab_group.top_level_group.id | ||
cn = var.ldap_owners_group | ||
group_access = "owner" | ||
ldap_provider = "ldapmain" | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
variable "token" { | ||
type = string | ||
description = "Gitlab token" | ||
sensitive = true | ||
} | ||
|
||
variable "insecure" { | ||
type = string | ||
description = "Do not verify certifcate if true" | ||
} | ||
|
||
variable "base_url" { | ||
type = string | ||
description = "gitlab api end point" | ||
} | ||
|
||
variable "top_level_group_full_path" { | ||
type = string | ||
description = "GitLab top level group full path" | ||
sensitive = true | ||
} | ||
|
||
variable "ldap_developers_group" { | ||
type = string | ||
description = "LDAP developers group" | ||
sensitive = true | ||
} | ||
|
||
variable "ldap_owners_group" { | ||
type = string | ||
description = "LDAP owners group" | ||
sensitive = true | ||
} |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.