Fix direct variable usage

This commit is contained in:
Tobias Reisinger 2024-09-30 01:26:42 +02:00
parent bae9fe9e0f
commit ed555418e2
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 37 additions and 37 deletions

34
main.tf
View file

@ -21,13 +21,13 @@ terraform {
module "services" {
source = "./modules/services"
authentik_url = "${var.authentik_url}"
authentik_token = "${var.authentik_token}"
authentik_url = var.authentik_url
authentik_token = var.authentik_token
postgresql_host = "${var.postgresql_host}"
postgresql_port = "${var.postgresql_port}"
postgresql_username = "${var.postgresql_username}"
postgresql_password = "${var.postgresql_password}"
postgresql_host = var.postgresql_host
postgresql_port = var.postgresql_port
postgresql_username = var.postgresql_username
postgresql_password = var.postgresql_password
services = var.services
}
@ -35,21 +35,21 @@ module "services" {
module "infrastructure" {
source = "./modules/infrastructure"
hcloud_token = "${var.hcloud_token}"
hcloud_token = var.hcloud_token
ovh_application_key = "${var.ovh_application_key}"
ovh_application_secret = "${var.ovh_application_secret}"
ovh_consumer_key = "${var.ovh_consumer_key}"
ovh_application_key = var.ovh_application_key
ovh_application_secret = var.ovh_application_secret
ovh_consumer_key = var.ovh_consumer_key
scaleway_access_key = "${var.scaleway_access_key}"
scaleway_secret_key = "${var.scaleway_secret_key}"
scaleway_project_id = "${var.scaleway_project_id}"
scaleway_organization_id = "${var.scaleway_organization_id}"
scaleway_access_key = var.scaleway_access_key
scaleway_secret_key = var.scaleway_secret_key
scaleway_project_id = var.scaleway_project_id
scaleway_organization_id = var.scaleway_organization_id
tailscale_api_key = "${var.tailscale_api_key}"
tailscale_tailnet = "${var.tailscale_tailnet}"
tailscale_api_key = var.tailscale_api_key
tailscale_tailnet = var.tailscale_tailnet
default_ssh_key = "${var.default_ssh_key}"
default_ssh_key = var.default_ssh_key
hosts = var.hosts
services = var.services