Files
gitlab-projects/.octopus/variables.ocl
2023-12-15 19:53:37 -06:00

30 lines
1.1 KiB
Plaintext

variable "TF_PACKAGE" {
value "TERRAFORM.GITLAB.PROJECTS" {}
}
variable "TF_CONTAINER" {
value "developerdurp/octopus-build-container:22.4.0" {}
}
variable "GITLAB_PROJECT_ID" {
value "52389386" {}
}
variable "RUNSPACE_GITLAB_PROJECT_IMPORT" {
value {
process = ["runbook/import-project"]
prompt {
description = ""
label = ""
}
}
}
variable "TF_INIT" {
value "-backend-config=\"address=https://gitlab.com/api/v4/projects/#{GITLAB_PROJECT_ID}/terraform/state/#{Octopus.Deployment.Tenant.Id}\" -backend-config=\"lock_address=https://gitlab.com/api/v4/projects/#{GITLAB_PROJECT_ID}/terraform/state/#{Octopus.Deployment.Tenant.Id}/lock\" -backend-config=\"unlock_address=https://gitlab.com/api/v4/projects/#{GITLAB_PROJECT_ID}/terraform/state/#{Octopus.Deployment.Tenant.Id}/lock\" -backend-config=\"username=developerdurp\" -backend-config=\"password=#{GITLAB_TOKEN}\" -backend-config=\"lock_method=POST\" -backend-config=\"unlock_method=DELETE\" -backend-config=\"retry_wait_min=5\"" {}
}
variable "OCTO_TENANT_ID" {
value "#{Octopus.Deployment.Tenant.Id}" {}
}