Skip to content

Conversation

@Harriethw
Copy link
Contributor

@Harriethw Harriethw commented Nov 19, 2025

Description

We would like to setup a dashboard on the Azure portal for our different environments on the Invite team.

This would allow repos to pass in a template file as the dashboard_properties, e.g:

  dashboard_properties = templatefile("dashboard-template.tpl",
      {
        environment = var.environment
        sub_id      = var.hub_subscription_id
      }
    )

https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/portal_dashboard

To see an example of a use case, I have a WIP branch here. https://github.com/NHSDigital/dtos-manage-breast-screening/compare/DTOSS-11637-dashboard-terraform?expand=1

Context

Add's a shared context for Dashboards, means we can start version controlling the content.

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

We would like to setup a dashboard on the Azure
portal for our different environments on the
Invite team.

This would allow repos to pass in a template file
as the dashboard_properties, e.g:

```
  dashboard_properties = templatefile("dashboard-template.tpl",
      {
        environment = var.environment
        sub_id      = var.hub_subscription_id
      }
    )
```

https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/portal_dashboard
@Harriethw Harriethw requested a review from a team November 19, 2025 17:43
@Harriethw Harriethw added this pull request to the merge queue Nov 21, 2025
Merged via the queue into main with commit 7932182 Nov 21, 2025
26 checks passed
@Harriethw Harriethw deleted the DTOSS-11637-dashboard branch November 21, 2025 11:39
Harriethw added a commit to NHSDigital/dtos-manage-breast-screening that referenced this pull request Nov 21, 2025
Now that we have a dashboard module available,
this adds the properties for a notifications
dashboard.

This is based on JSON exported from dashboards
created in the portal UI.

NHSDigital/dtos-devops-templates#261
Harriethw added a commit to NHSDigital/dtos-manage-breast-screening that referenced this pull request Nov 25, 2025
Now that we have a dashboard module available,
this adds the properties for a notifications
dashboard.

This is based on JSON exported from dashboards
created in the portal UI.

NHSDigital/dtos-devops-templates#261
Harriethw added a commit to NHSDigital/dtos-manage-breast-screening that referenced this pull request Nov 27, 2025
Now that we have a dashboard module available,
this adds the properties for a notifications
dashboard.

This is based on JSON exported from dashboards
created in the portal UI.

NHSDigital/dtos-devops-templates#261
Harriethw added a commit to NHSDigital/dtos-manage-breast-screening that referenced this pull request Nov 27, 2025
Now that we have a dashboard module available,
this adds the properties for a notifications
dashboard.

This is based on JSON exported from dashboards
created in the portal UI.

NHSDigital/dtos-devops-templates#261
Harriethw added a commit to NHSDigital/dtos-manage-breast-screening that referenced this pull request Nov 27, 2025
Now that we have a dashboard module available,
this adds the properties for a notifications
dashboard.

This is based on JSON exported from dashboards
created in the portal UI.

NHSDigital/dtos-devops-templates#261
Harriethw added a commit to NHSDigital/dtos-manage-breast-screening that referenced this pull request Nov 27, 2025
Now that we have a dashboard module available,
this adds the properties for a notifications
dashboard.

This is based on JSON exported from dashboards
created in the portal UI.

NHSDigital/dtos-devops-templates#261
Harriethw added a commit to NHSDigital/dtos-manage-breast-screening that referenced this pull request Nov 28, 2025
Now that we have a dashboard module available,
this adds the properties for a notifications
dashboard.

This is based on JSON exported from dashboards
created in the portal UI.

NHSDigital/dtos-devops-templates#261
Harriethw added a commit to NHSDigital/dtos-manage-breast-screening that referenced this pull request Nov 28, 2025
Now that we have a dashboard module available,
this adds the properties for a notifications
dashboard.

This is based on JSON exported from dashboards
created in the portal UI.

NHSDigital/dtos-devops-templates#261
Harriethw added a commit to NHSDigital/dtos-manage-breast-screening that referenced this pull request Nov 28, 2025
Now that we have a dashboard module available,
this adds the properties for a notifications
dashboard.

This is based on JSON exported from dashboards
created in the portal UI.

NHSDigital/dtos-devops-templates#261
Harriethw added a commit to NHSDigital/dtos-manage-breast-screening that referenced this pull request Nov 28, 2025
Now that we have a dashboard module available,
this adds the properties for a notifications
dashboard.

This is based on JSON exported from dashboards
created in the portal UI.

NHSDigital/dtos-devops-templates#261
Harriethw added a commit to NHSDigital/dtos-manage-breast-screening that referenced this pull request Nov 28, 2025
Now that we have a dashboard module available,
this adds the properties for a notifications
dashboard.

This is based on JSON exported from dashboards
created in the portal UI.

NHSDigital/dtos-devops-templates#261
Harriethw added a commit to NHSDigital/dtos-manage-breast-screening that referenced this pull request Dec 9, 2025
Now that we have a dashboard module available,
this adds the properties for a notifications
dashboard.

This is based on JSON exported from dashboards
created in the portal UI.

NHSDigital/dtos-devops-templates#261
Harriethw added a commit to NHSDigital/dtos-manage-breast-screening that referenced this pull request Dec 9, 2025
Now that we have a dashboard module available,
this adds the properties for a notifications
dashboard.

This is based on JSON exported from dashboards
created in the portal UI.

NHSDigital/dtos-devops-templates#261
Harriethw added a commit to NHSDigital/dtos-manage-breast-screening that referenced this pull request Dec 11, 2025
Now that we have a dashboard module available,
this adds the properties for a notifications
dashboard.

This is based on JSON exported from dashboards
created in the portal UI.

NHSDigital/dtos-devops-templates#261
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants