add home assistant files [ci skip]

This commit is contained in:
viktorbarzin 2022-06-02 16:05:14 +01:00
parent 7815e156e5
commit 040a080a5d
No known key found for this signature in database
GPG key ID: 0EB088298288D958
8 changed files with 339 additions and 16 deletions

View file

@ -33,6 +33,7 @@ variable "webhook_handler_ssh_key" {}
variable "idrac_username" {}
variable "idrac_password" {}
variable "alertmanager_slack_api_url" {}
variable "home_assistant_configuration" {}
resource "null_resource" "core_services" {
# List all the core modules that must be provisioned first
@ -225,3 +226,10 @@ module "wireguard" {
wg_0_key = var.wireguard_wg_0_key
firewall_sh = var.wireguard_firewall_sh
}
module "home_assistant" {
source = "./home_assistant"
tls_secret_name = var.tls_secret_name
client_certificate_secret_name = var.client_certificate_secret_name
configuration_yaml = var.home_assistant_configuration
}