f8ddb332e8
- DNS implementation - Fixed missing mount in encrypted volumes - Improved chronograph.sh
61 lines
1.3 KiB
Terraform
61 lines
1.3 KiB
Terraform
|
|
terraform {
|
|
required_version = "~>1.8"
|
|
required_providers {
|
|
random = {
|
|
source = "hashicorp/random"
|
|
version = "~>3.4"
|
|
}
|
|
null = {
|
|
source = "hashicorp/null"
|
|
version = "~>3.2"
|
|
}
|
|
external = {
|
|
source = "hashicorp/external"
|
|
version = "~>2.2"
|
|
}
|
|
time = {
|
|
source = "hashicorp/time"
|
|
version = "~>0.9"
|
|
}
|
|
kubernetes = {
|
|
source = "hashicorp/kubernetes"
|
|
version = "~>2.18"
|
|
}
|
|
scaleway = {
|
|
source = "scaleway/scaleway"
|
|
version = "~>2.13"
|
|
}
|
|
contabo = {
|
|
source = "contabo/contabo"
|
|
version = "~>0.1"
|
|
}
|
|
cloudns = {
|
|
source = "ClouDNS/cloudns"
|
|
version = "~1.0"
|
|
}
|
|
}
|
|
}
|
|
|
|
provider "cloudns" {
|
|
auth_id = var.cloudns_auth_id
|
|
password = var.cloudns_password
|
|
}
|
|
|
|
provider "scaleway" {
|
|
zone = "fr-par-2"
|
|
region = "fr-par"
|
|
access_key = var.scaleway_access_key
|
|
secret_key = var.scaleway_secret_key
|
|
organization_id = var.scaleway_organization_id
|
|
}
|
|
|
|
|
|
# Configure your Contabo API credentials
|
|
provider "contabo" {
|
|
oauth2_client_id = var.contabo_client_id
|
|
oauth2_client_secret = var.contabo_client_secret
|
|
oauth2_user = var.contabo_api_user
|
|
oauth2_pass = var.contabo_api_password
|
|
}
|