update
Some checks failed
terraform validation / Terraform (push) Failing after 7s

This commit is contained in:
Hubert Cornet 2025-01-02 16:11:22 +01:00
parent 61de61c301
commit 8ef9f5c0ad
2 changed files with 37 additions and 2 deletions

View File

@ -5,5 +5,5 @@ terraform {
version = "~> 2.41.0"
}
}
required_version = ">= 1.7.5"
required_version = ">= 1.8"
}

View File

@ -20,3 +20,38 @@ variable "node_type" {
description = "le type de nœud à créer dans le pool de nœuds de la grappe"
default = "DEV1-M"
}
variable "access_key" {
type = string
sensitive = true
description = "Id du key"
default = "SCW9R1R3SE3JGPJSWEP2"
}
variable "secret_key" {
type = string
sensitive = true
description = "Id du secret"
default = "7c0502ba-5a74-4ff7-b936-b5552c6554ca"
}
variable "organization_id" {
type = string
sensitive = true
description = "Id de l'organisation"
default = "1a2b3c4d-1a2b-1a2b-1a2b-1a2b3c4d5e6f"
}
variable "project_id" {
type = string
sensitive = true
description = "Id du projet associé"
default = "1a2b3c4d-1a2b-1a2b-1a2b-1a2b3c4d5e6f"
}
provider "scaleway" {
access_key = var.access_key
secret_key = var.secret_key
organization_id = var.organization_id
project_id = var.project_id
}