From 778bcc99f67bc225f28abea03c115e0e5ff293a4 Mon Sep 17 00:00:00 2001 From: Derek Morgan <79756941+morethancertified@users.noreply.github.com> Date: Thu, 17 Oct 2024 16:01:38 +0000 Subject: [PATCH] terraform fmt --- terraform/main.tf | 4 ++-- terraform/providers.tf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform/main.tf b/terraform/main.tf index f96f7cc..6da36d4 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -100,11 +100,11 @@ check "grafana_health_check" { data "http" "test" { url = "http://${aws_instance.grafana_server.public_ip}:3000" retry { - attempts=5 + attempts = 5 } } assert { - condition = data.http.test.status_code == 200 + condition = data.http.test.status_code == 200 error_message = "Grafana is inaccessible on port 3000." } } diff --git a/terraform/providers.tf b/terraform/providers.tf index 48b720b..56f63be 100644 --- a/terraform/providers.tf +++ b/terraform/providers.tf @@ -5,7 +5,7 @@ terraform { version = "5.69.0" } http = { - source = "hashicorp/http" + source = "hashicorp/http" version = "3.4.5" } }