Skip to content

Commit

Permalink
terraform: add gitlab-nju
Browse files Browse the repository at this point in the history
  • Loading branch information
linyinfeng committed Sep 22, 2024
1 parent 43d2cb3 commit 6527b3d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
22 changes: 22 additions & 0 deletions terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions terraform/gitlab-nju.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
provider "gitlab" {
base_url = "https://git.nju.edu.cn/api/v4"
token = data.sops_file.terraform.data["gitlab.nju.token"]
}
3 changes: 3 additions & 0 deletions terraform/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ terraform {
google-beta = {
source = "hashicorp/google-beta"
}
gitlab = {
source = "gitlabhq/gitlab"
}
null = {
source = "hashicorp/null"
}
Expand Down

0 comments on commit 6527b3d

Please sign in to comment.