Update 4 files
- /TERRAFORM.GITLAB.PROJECTS/main.tf - /TERRAFORM.GITLAB.PROJECTS/variables.tf - /.gitlab/.gitlab-ci.yml - /.variables.yml
This commit is contained in:
5
.gitlab/.gitlab-ci.yml
Normal file
5
.gitlab/.gitlab-ci.yml
Normal 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
3
.variables.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
variables:
|
||||||
|
PROJECT_NAME: TERRAFORM.GITLAB.PROJECTS
|
||||||
|
OCTO_PROJECT_NAME: "Gitlab Projects"
|
||||||
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