diff options
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" { |