diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2024-12-22 19:30:15 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2024-12-22 19:30:15 +0100 |
commit | 979ec08d3d35118f106559dc59c1961cd3534ba7 (patch) | |
tree | 5eed6a91277cc0326f5a1d7273cd3f6a9d2a2a60 /terraform/hash-loki/main.tf | |
parent | 98cd7c1de49237ebc88b08c81d5a1ec0f98864c6 (diff) | |
download | infra-master.tar.gz infra-master.tar.bz2 infra-master.tar.xz infra-master.zip |
Diffstat (limited to 'terraform/hash-loki/main.tf')
-rw-r--r-- | terraform/hash-loki/main.tf | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/terraform/hash-loki/main.tf b/terraform/hash-loki/main.tf new file mode 100644 index 0000000..a393467 --- /dev/null +++ b/terraform/hash-loki/main.tf @@ -0,0 +1,37 @@ +terraform { + required_providers { + docker = { + source = "kreuzwerker/docker" + version = "3.0.2" + } + postgresql = { + source = "cyrilgdn/postgresql" + version = "1.21.0" + } + random = { + source = "hashicorp/random" + version = "3.5.1" + } + sops = { + source = "lokkersp/sops" + version = "0.6.10" + } + } +} + +locals { + host = "hash.trygvis.io" +} + +provider "docker" { + host = "ssh://${local.host}" +} + +data "docker_network" "traefik" { + name = "traefik" +} + +data "docker_network" "dn42" { + name = "dn42" +} + |