attempted k8s resources as tf files, not worth the trouble

This commit is contained in:
2024-04-20 02:10:01 +12:00
parent 43dbb951fe
commit 5b83607fe0
7 changed files with 151 additions and 14 deletions

View File

@ -9,6 +9,10 @@ terraform {
source = "vultr/vultr"
version = ">= 2.19.0"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = ">= 2.29.0"
}
}
backend "local" {
path = "/home/michael/Nextcloud/Backups/tfstate/vultr.tfstate"
@ -29,3 +33,11 @@ provider "vultr" {
rate_limit = 100
retry_limit = 3
}
provider "kubernetes" {
# # host = vultr_kubernetes.k8s.endpoint
# # client_certificate = vultr_kubernetes.k8s.client_certificate
# # client_key = vultr_kubernetes.k8s.client_key
# # cluster_ca_certificate = vultr_kubernetes.k8s.cluster_ca_certificate
config_path = pathexpand("~/.kube/vultr")
}