khuedoan-homelab/external/versions.tf
2021-12-25 02:50:18 +07:00

50 lines
881 B
HCL

terraform {
required_version = "~> 1.1.0"
backend "remote" {
hostname = "app.terraform.io"
organization = "khuedoan"
workspaces {
name = "homelab-external"
}
}
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 3.4.0"
}
b2 = {
source = "Backblaze/b2"
version = "~> 0.7.0"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "~> 2.7.0"
}
http = {
source = "hashicorp/http"
version = "~> 2.1.0"
}
}
}
provider "cloudflare" {
email = var.cloudflare_email
api_key = var.cloudflare_api_key
}
provider "b2" {
application_key_id = var.b2_application_key_id
application_key = var.b2_application_key
}
provider "kubernetes" {
# Use KUBE_CONFIG_PATH environment variables
# Or in cluster service account
}