1
0
Fork 0
home-stack-kustomize/terraform/main.tf

51 lines
1.0 KiB
Terraform
Raw Normal View History

2023-02-17 17:22:50 +00:00
terraform {
backend "kubernetes" {
secret_suffix = "state"
config_path = "~/.kube/config"
labels = {
"app.kubernetes.io/managed-by": "terraform"
}
}
}
provider "kubernetes" {
config_path = "~/.kube/config"
}
module "aws-parameters-external-secrets" {
source = "./modules/aws-parameters-external-secrets"
}
2023-02-17 19:43:19 +00:00
module "do_dns" {
source = "./modules/do_dns"
root_domain_name = "badjware.dev"
root_domain_ip = "104.152.168.30"
records = {
"mail" = {
type = "CNAME"
value = "@"
}
"public" = {
type = "CNAME"
value = "@"
}
"cloud" = {
type = "A"
value = "159.203.54.249"
}
"code" = {
type = "A"
value = "159.203.54.249"
}
"drone" = {
type = "A"
value = "159.203.54.249"
}
"grafana" = {
type = "A"
value = "159.203.54.249"
}
}
}