Update 4 files
- /TERRAFORM.GITLAB.PROJECTS/main.tf - /TERRAFORM.GITLAB.PROJECTS/variables.tf - /.gitlab/.gitlab-ci.yml - /.variables.yml
This commit is contained in:
13
TERRAFORM.GITLAB.PROJECTS/main.tf
Normal file
13
TERRAFORM.GITLAB.PROJECTS/main.tf
Normal file
@@ -0,0 +1,13 @@
|
||||
terraform {
|
||||
backend "http" {}
|
||||
required_providers {
|
||||
gitlab {
|
||||
source = "gitlabhq/gitlab"
|
||||
verison = "16.2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "gitlab" {
|
||||
token = var.GITLAB_TOKEN
|
||||
}
|
||||
3
TERRAFORM.GITLAB.PROJECTS/variables.tf
Normal file
3
TERRAFORM.GITLAB.PROJECTS/variables.tf
Normal file
@@ -0,0 +1,3 @@
|
||||
variable "GITLAB_TOKEN {
|
||||
type = string
|
||||
}
|
||||
Reference in New Issue
Block a user