diff options
Diffstat (limited to 'terraform/grafana/main.tf')
-rw-r--r-- | terraform/grafana/main.tf | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/terraform/grafana/main.tf b/terraform/grafana/main.tf deleted file mode 100644 index fa225ab..0000000 --- a/terraform/grafana/main.tf +++ /dev/null @@ -1,47 +0,0 @@ -terraform { - required_version = "~> 1.3.5" - - required_providers { - docker = { - source = "kreuzwerker/docker" - version = "2.24.0" - } - postgresql = { - source = "cyrilgdn/postgresql" - version = "1.21.0" - } - random = { - source = "hashicorp/random" - version = "3.5.1" - } - sops = { - source = "lokkersp/sops" - version = "0.6.10" - } - } -} - -provider "docker" { - host = "ssh://conflatorio.vpn.trygvis.io" -} - -data "sops_file_entry" "knot_pdb_terraform_password" { - source_file = "../../sops.yml" - data_key = "knot_pdb_terraform_password" -} - -provider "postgresql" { - host = "knot.vpn.trygvis.io" - database = "postgres" - username = "terraform" - password = data.sops_file_entry.knot_pdb_terraform_password.data - sslmode = "require" -} - -data "docker_network" "traefik" { - name = "traefik" -} - -data "docker_network" "public" { - name = "public" -} |