init: copy from lawndale-infra
This commit is contained in:
79
providers.tf
Normal file
79
providers.tf
Normal 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" {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user