diff --git a/provider.tf b/provider.tf index 7d86192..a94dd9f 100644 --- a/provider.tf +++ b/provider.tf @@ -5,5 +5,5 @@ terraform { version = "~> 2.41.0" } } - required_version = ">= 1.7.5" + required_version = ">= 1.8" } \ No newline at end of file diff --git a/variables.tf b/variables.tf index b65e0fc..14d2e5b 100644 --- a/variables.tf +++ b/variables.tf @@ -19,4 +19,39 @@ variable "node_type" { type = string description = "le type de nœud à créer dans le pool de nœuds de la grappe" default = "DEV1-M" -} \ No newline at end of file +} + +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 +}