From 43f8267ea308d25bdc38e6859f2064b00e7381af Mon Sep 17 00:00:00 2001 From: Nathan Rodet <nrodet@grandlyon.com> Date: Wed, 21 Dec 2022 09:29:26 +0100 Subject: [PATCH] Added gitlab file --- terraform/variables-gitlab.tf | 41 +++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 terraform/variables-gitlab.tf diff --git a/terraform/variables-gitlab.tf b/terraform/variables-gitlab.tf new file mode 100644 index 0000000..5648602 --- /dev/null +++ b/terraform/variables-gitlab.tf @@ -0,0 +1,41 @@ +### Gitlab CI variables + +variable "SCW_PROJECT_ID" { + type = string + sensitive = true + description = "Project ID from a scaleway project" +} + +variable "SCW_ACCESS_KEY" { + type = string + sensitive = true + description = "Scaleway access key" +} + +variable "SCW_SECRET_KEY" { + type = string + sensitive = true + description = "Scaleway secret key" +} + +variable "SCW_SSH_PUB_KEY" { + type = string + sensitive = true + description = "SSH public key from Gitlab agent installed on scaleway" +} + +variable "SCW_SSH_PRIVATE_KEY" { + type = string + sensitive = true + description = "SSH private key from Gitlab agent for remote-exec" +} + +variable "INSTANCES_COUNT" { + type = number + description = "Number of instances to create" +} + +variable "ENVIRONMENT" { + type = string + description = "The type of lab to create, ex: devrust, pentest..." +} -- GitLab