diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2024-09-29 23:52:07 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2024-09-29 23:52:07 +0200 |
commit | 5788e96171b675a7b55c4046c51f491b20dcf16f (patch) | |
tree | 7d7a6d9fca0d61318b0a87c3159922f9fa9dc589 /terraform/hash-grafana | |
parent | f4e65d26183b1133d919c415fec349f52fb4385f (diff) | |
download | infra-5788e96171b675a7b55c4046c51f491b20dcf16f.tar.gz infra-5788e96171b675a7b55c4046c51f491b20dcf16f.tar.bz2 infra-5788e96171b675a7b55c4046c51f491b20dcf16f.tar.xz infra-5788e96171b675a7b55c4046c51f491b20dcf16f.zip |
terraform
Diffstat (limited to 'terraform/hash-grafana')
-rw-r--r-- | terraform/hash-grafana/backend.tf | 6 | ||||
-rw-r--r-- | terraform/hash-grafana/grafana.tf | 2 | ||||
-rw-r--r-- | terraform/hash-grafana/main.tf | 4 |
3 files changed, 7 insertions, 5 deletions
diff --git a/terraform/hash-grafana/backend.tf b/terraform/hash-grafana/backend.tf index c1af67a..b06355d 100644 --- a/terraform/hash-grafana/backend.tf +++ b/terraform/hash-grafana/backend.tf @@ -1,12 +1,16 @@ # Generated by Terragrunt. Sig: nIlQXj57tbuaRZEa terraform { + required_version = "~> 1.9.5" + backend "s3" { bucket = "terraform-a6726272-73ff-11ed-8bdd-c79eb8376e05" key = "hash-grafana/terraform.tfstate" skip_region_validation = true skip_credentials_validation = true skip_metadata_api_check = true + skip_requesting_account_id = true + skip_s3_checksum = true region = "eu-central-1" - endpoint = "eu-central-1.linodeobjects.com" + endpoints = { s3 : "https://eu-central-1.linodeobjects.com" } } } diff --git a/terraform/hash-grafana/grafana.tf b/terraform/hash-grafana/grafana.tf index 19989e2..2c0f719 100644 --- a/terraform/hash-grafana/grafana.tf +++ b/terraform/hash-grafana/grafana.tf @@ -38,7 +38,7 @@ resource "docker_container" "grafana" { env = [ "GF_DATABASE_TYPE=postgres", -# "GF_DATABASE_HOST=[fdf3:aad9:a885:b3a::1]", + # "GF_DATABASE_HOST=[fdf3:aad9:a885:b3a::1]", "GF_DATABASE_HOST=knot.dn42.trygvis.io", "GF_DATABASE_DATABASE=${postgresql_database.grafana.name}", "GF_DATABASE_USER=${postgresql_role.grafana.name}", diff --git a/terraform/hash-grafana/main.tf b/terraform/hash-grafana/main.tf index 00857e5..fb7c03a 100644 --- a/terraform/hash-grafana/main.tf +++ b/terraform/hash-grafana/main.tf @@ -1,6 +1,4 @@ terraform { - required_version = "~> 1.3.5" - required_providers { docker = { source = "kreuzwerker/docker" @@ -22,7 +20,7 @@ terraform { } locals { - host = "hash.trygvis.io" + host = "hash.trygvis.io" } provider "docker" { |