Skip to content

This repository contains the source code to build an Amazon Managed Grafana workspace and dashboard using Terraform. The process is automated using Azure Pipelines.

License

Notifications You must be signed in to change notification settings

kunduso/aws_managed_grafana_workspace_dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: UnlicenseGitHub pull-requests closedGitHub pull-requests GitHub issues-closedGitHub issues Build Status

Build Status

checkov-static-analysis-scan Imange

Motivation

In this repository I have the source code to build an Amazon Managed Grafana workspace and dashboard using Terraform. The process is automated using Azure Pipelines.


If you are interested in knowing and understanding more about the code please visit my notes.
Create Amazon Managed Grafana Workspace using Terraform
Create Amazon Managed Grafana Dashboard using Terraform

Pre-Requisites

  • To create an Amazon Managed Grafana workspace enable AWS organizations and AWS Indentity Center in your AWS account.
  • Create an AWS IAM user who can manage the resources this Terraform stack provisions.

Algorithm

Deploying the Amazon Managed Grafana Workspace and Dashboard infrastructure using Terraform in a CI pipeline environment involves four high level steps:
(i) build the workspace using the Terraform aws provider,
(ii) generate an API key,
(iii) use the API key in the Terraform grafana provider and create dashboard/s, and finally
(iv) delete the API key.

Folder Structure:

There are two distinct set of projects hosted in this repository with one depending on the other.

The amg_workspace folder hosts the source code to provision an Amazon Managed Grafana workspace using Terraform. The AWS IAM policy files required to provision these resources are also available to adhere to principle of least priviledge. It also contains the azure pipelines yaml file to automate the process.

The amg_dashboard folder hosts the source code to provision a dashboard in the Amazon Managed Grafana workspace and hence it depends on the workspace being available. Here too, the azure pipelines yaml file is available to automate the process.

License

This code is released under the Unlincse License. See LICENSE.

About

This repository contains the source code to build an Amazon Managed Grafana workspace and dashboard using Terraform. The process is automated using Azure Pipelines.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published