From c4572ad7a40ce0bc5f468a66a9db2fd686a6f061 Mon Sep 17 00:00:00 2001 From: Nathan Rodet <nrodet@grandlyon.com> Date: Wed, 21 Dec 2022 09:28:58 +0100 Subject: [PATCH] removed local files --- .gitignore | 5 ++-- terraform/variables-gitlab.tf | 41 -------------------------------- terraform/variables-local.tf | 19 --------------- terraform/variables-local.tfvars | 14 ----------- 4 files changed, 3 insertions(+), 76 deletions(-) delete mode 100644 terraform/variables-gitlab.tf delete mode 100644 terraform/variables-local.tf delete mode 100644 terraform/variables-local.tfvars diff --git a/.gitignore b/.gitignore index d49a7b0..326ce0d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,9 @@ terraform/.terraform.lock.hcl terraform/.terraform.tfstate.lock.info terraform/terraform.tfstate* +terraform/variables-local.tfvars +terraform/vvariables-local.tf terraform/.terraform/* terraform/tfplan .idea - - +terraform/variables-local.tfvars diff --git a/terraform/variables-gitlab.tf b/terraform/variables-gitlab.tf deleted file mode 100644 index 5648602..0000000 --- a/terraform/variables-gitlab.tf +++ /dev/null @@ -1,41 +0,0 @@ -### 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..." -} diff --git a/terraform/variables-local.tf b/terraform/variables-local.tf deleted file mode 100644 index f322a9e..0000000 --- a/terraform/variables-local.tf +++ /dev/null @@ -1,19 +0,0 @@ -## Terraform local execution - -variable "FORGE_PROJECT_ID" { - type = string - description = "Forge Project ID" - sensitive = true -} - -variable "FORGE_USERNAME" { - type = string - description = "Forge Username" - sensitive = true -} - -variable "FORGE_ACCESS_TOKEN" { - type = string - description = "Forge Access Token" - sensitive = true -} diff --git a/terraform/variables-local.tfvars b/terraform/variables-local.tfvars deleted file mode 100644 index 7a522bc..0000000 --- a/terraform/variables-local.tfvars +++ /dev/null @@ -1,14 +0,0 @@ -### SCW variables - -SCW_PROJECT_ID = "" -SCW_ACCESS_KEY = "" -SCW_SECRET_KEY = "" -SCW_SSH_PUB_KEY = "" -SCW_SSH_PRIVATE_KEY = "" -INSTANCES_COUNT = "" -ENVIRONMENT = "" - -### FORGE variables -FORGE_PROJECT_ID = "" -FORGE_USERNAME="[\"\"]" -FORGE_ACCESS_TOKEN = "" \ No newline at end of file -- GitLab