aboutsummaryrefslogtreecommitdiff
path: root/terraform/conflatorio-prometheus/main.tf
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/conflatorio-prometheus/main.tf')
-rw-r--r--terraform/conflatorio-prometheus/main.tf34
1 files changed, 34 insertions, 0 deletions
diff --git a/terraform/conflatorio-prometheus/main.tf b/terraform/conflatorio-prometheus/main.tf
new file mode 100644
index 0000000..f5c5a7f
--- /dev/null
+++ b/terraform/conflatorio-prometheus/main.tf
@@ -0,0 +1,34 @@
+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 "docker_network" "traefik" {
+ name = "traefik"
+}
+
+data "docker_network" "private" {
+ name = "private"
+}