Update 4 files

- /TERRAFORM.GITLAB.PROJECTS/main.tf
- /TERRAFORM.GITLAB.PROJECTS/variables.tf
- /.gitlab/.gitlab-ci.yml
- /.variables.yml
This commit is contained in:
2023-11-21 18:56:39 +00:00
parent a5fd6570cf
commit c507d76db5
4 changed files with 24 additions and 0 deletions

5
.gitlab/.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,5 @@
include:
- project: 'developerdurp/yml'
ref: 'main'
file: 'pipelines/gitlab_generic_packages.yml'
- local: .variables.yml

3
.variables.yml Normal file
View File

@@ -0,0 +1,3 @@
variables:
PROJECT_NAME: TERRAFORM.GITLAB.PROJECTS
OCTO_PROJECT_NAME: "Gitlab Projects"

View File

@@ -0,0 +1,13 @@
terraform {
backend "http" {}
required_providers {
gitlab {
source = "gitlabhq/gitlab"
verison = "16.2.0"
}
}
}
provider "gitlab" {
token = var.GITLAB_TOKEN
}

View File

@@ -0,0 +1,3 @@
variable "GITLAB_TOKEN {
type = string
}