init: copy from lawndale-infra

This commit is contained in:
2022-05-27 02:51:52 +02:00
commit 6a60d271bf
18 changed files with 1126 additions and 0 deletions

79
providers.tf Normal file
View File

@@ -0,0 +1,79 @@
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.9.0"
}
cloudflare = {
source = "cloudflare/cloudflare"
version = "~> 3.15.0"
}
dns = {
source = "hashicorp/dns"
version = "~> 3.2.3"
}
helm = {
source = "hashicorp/helm"
version = "2.5.1"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "~> 2.11.0"
}
libvirt = {
source = "dmacvicar/libvirt"
version = "0.6.14"
}
macaddress = {
source = "ivoronin/macaddress"
version = "0.3.0"
}
template = {
source = "hashicorp/template"
version = "~> 2.2.0"
}
}
}
provider "aws" {
# Configuration options
default_tags {
tags = {
"managed-by" = "terraform"
}
}
}
provider "libvirt" {
# no-pty ssh-rsa AAAAB3.....
uri = "qemu+ssh://lawndale-hyper.sch.bme.hu:10022/system?sshauth=privkey"
}
provider "dns" {
update {
server = var.lawndale_dns_host
port = var.lawndale_dns_port
transport = var.lawndale_dns_transport
key_name = "lawndale."
key_secret = var.lawndale_dns_key_secret
key_algorithm = var.lawndale_dns_key_algorithm
}
}
provider "cloudflare" {
# Configuration options
}
provider "helm" {
}
provider "kubernetes" {
}