Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungWhy Claude Code keeps writing shell commands that fail on your Mac(20.09.2026 um 21:06 Uhr)
Sichere Programmierungllms.txt v2: What the Spec Says, and What 137,000 Domains Show(20.09.2026 um 21:17 Uhr)
Sicherheitslücken (CVE)NiceTryGPT: Less pattern matching. More actual hacking.(20.09.2026 um 21:19 Uhr)
IT Security VideoActivities BoF (kde2026)(20.09.2026 um 00:00 Uhr)
IT Security Toolsirdoc-app(20.09.2026 um 20:33 Uhr)
Sichere ProgrammierungWhy Claude Code keeps writing shell commands that fail on your Mac(20.09.2026 um 21:06 Uhr)
Sichere Programmierungllms.txt v2: What the Spec Says, and What 137,000 Domains Show(20.09.2026 um 21:17 Uhr)
Sicherheitslücken (CVE)NiceTryGPT: Less pattern matching. More actual hacking.(20.09.2026 um 21:19 Uhr)
IT Security VideoActivities BoF (kde2026)(20.09.2026 um 00:00 Uhr)
IT Security Toolsirdoc-app(20.09.2026 um 20:33 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Deploy an Azure Dashboard using Terraform

Reagiere als Erste:r — dein Feedback zählt!

Deploy an Azure Dashboard using Terraform

Dashboards in Azure are a great way to help you organise and view your resources in the portal. They can help you monitor your resources quickly in one location.

You can build your dashboard through the Azure portal, share dashboards between users or you can export a configured dashboard as a JSON file and then share it widely.

In this blog post, I want to show you how you can deploy a dashboard JSON file to your Azure environment using Terraform.

Pre-requisites

  • Azure subscription
  • Terraform installed and configured on your machine
  • Azure Dashboard

Create a new project folder

In order to deploy the Terraform files and dashboard we want to create a new folder to store our files in.

Navigate to the location where you want to store the files and create a new folder.

Within the new folder add in your dashboard JSON file. I am going to use the Azure Arc Windows/Linux Dashboard that I created recently. If you don’t have a dashboard to use you can grab a copy of the dashboard here.

Modify the dashboard JSON file

When you create a dashboard in Azure, you have the option to export it and when you do it creates a JSON file for you. This JSON file is in an ARM template format and we need to modify it slightly to be able to deploy it via Terraform.

Open up the JSON file within your favourite editor, I am going to use VS Code.

The first line you want to delete and remove from the JSON file is line two.

Deploy an Azure Dashboard using Terraform

We then need to scroll down to the bottom of the file, we want to delete lines 210 to 216. The whole section that has name, type, location, tags and api version needs to be deleted. Ensure you also delete the comma on line 209 and any trailing open brackets.

Deploy an Azure Dashboard using Terraform

Save the changes to the file.

Create the Terraform deployment

Create a new file within your editor, and call it “main.tf”, we are going to use this to define our Terraform to help deploy the dashboard.

Below is the Terraform configuration you want to copy into your “main.tf” file.

# Azurerm Provider configuration
provider "azurerm" {
  features {}
}

module "dashboard" {
  source  = "kumarvna/dashboard/azurerm"
  version = "1.1.0"

  # This module will not create a resource group, provide the name and location of an existing resource group.
  resource_group_name = "azurearc"
  location            = "westeurope"

  # Dashboard configuration
  dashboards = [
    {
      name           = "Azure-Arc-Windows-Linux-Dashboard"
      json_file_path = "./dashboard.json"
      variables = {
        "title" = "Azure-Arc-Windows-Linux-Dashboard"
      }
    }
  ]

  # Adding TAG's to your Azure resources
  tags = {
    ProjectName  = "azurearc"
    Env          = "prod"
  }
}

Within the Terraform file we are calling on the Dashboard Terraform module to help us deploy the dashboard.

When using the above Terraform file you need to have already deployed your resource group, this file won’t create the resource group for you.

Within the “Dashboard Configuration” section of the file let’s break it down. The line where you define the " Name" defines the name of the resource.

The "json_file_path" is where you reference the JSON file that has the dashboard file you want to deploy. My JSON file resides in the same folder as my Terraform file, so I have configured it as such. If your JSON file lives elsewhere you will need to change the file path.

The "title" section defines the name of the dashboard.

Deploy the Terraform

Now that we have the Terraform file created and our dashboard file available we want to deploy it.

Open up your command prompt and ensure you are connected to the appropriate Azure subscription you want to deploy the dashboard within.

Now type in:

Terraform init  

This command prepares the working directory for use with Terraform, it will initialise the backend, and install any child modules or plugins.

Once completed type in:

Terraform plan

This command compares the current configuration and the prior state data. It will show you what will happen if you run the command within your environment.

If you are happy with the plan the next command is the actual deployment, and that is:

Terraform apply -auto-approve

Including the -auto-approve command will avoid us having to type in yes to continue with the deployment.

After a few minutes the deployment should complete successfully and your dashboard will be deployed.

Conclusion

Azure dashboards are a great way to monitor and collate data about your Azure resources.

Being able to automate the deployment of a pre-created dashboard via Terraform is important for efficiency when managing your overall Azure environment.

Happy deployments!

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Deploy an Azure Dashboard using Terraform

Thematisch verwandte Begriffe: Deploy, Azure, Dashboard, using · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-93956 | A flaw has been found in olivier-ls PHP-FTS up to 1.1.2. Affected by thi…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick