Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liatrio/terraform-grafana-cloud-config-module
Terraform Module for Grafana Cloud Configuration
https://github.com/liatrio/terraform-grafana-cloud-config-module
Last synced: 8 days ago
JSON representation
Terraform Module for Grafana Cloud Configuration
- Host: GitHub
- URL: https://github.com/liatrio/terraform-grafana-cloud-config-module
- Owner: liatrio
- License: apache-2.0
- Created: 2024-04-15T15:00:26.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-24T19:20:44.000Z (7 months ago)
- Last Synced: 2024-04-24T20:59:16.375Z (7 months ago)
- Language: HCL
- Size: 74.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-grafana-config-module
## Terraform Documentation
## Requirements
| Name | Version |
|------|---------|
| [aws](#requirement\_aws) | >= 5.7.0 |
| [grafana](#requirement\_grafana) | 2.1.0 |## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | >= 5.7.0 |
| [grafana](#provider\_grafana) | 2.1.0 |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [aws_grafana_workspace_api_key.key](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/grafana_workspace_api_key) | resource |
| [aws_prometheus_rule_group_namespace.alarm_rule](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/prometheus_rule_group_namespace) | resource |
| [grafana_dashboard.dashboard_from_file](https://registry.terraform.io/providers/grafana/grafana/2.1.0/docs/resources/dashboard) | resource |
| [grafana_data_source.data_source_from_map](https://registry.terraform.io/providers/grafana/grafana/2.1.0/docs/resources/data_source) | resource |
| [grafana_folder.dashboard_folders](https://registry.terraform.io/providers/grafana/grafana/2.1.0/docs/resources/folder) | resource |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [alarm\_rules](#input\_alarm\_rules) | The contents of the alarm rules file. | `string` | n/a | yes |
| [aws\_region](#input\_aws\_region) | Contains the AWS Region that Grafana is running in. | `string` | `"us-east-1"` | no |
| [dashboard\_configs\_folder](#input\_dashboard\_configs\_folder) | The path to the dashboards folder where the configuration files are located. | `string` | n/a | yes |
| [data\_source\_map](#input\_data\_source\_map) | A list of maps representing datasource information. Each map defines a data source with its type, name, and url. | `list(map(string))` |[| no |
{
"data_source_name": "CloudName1",
"data_source_type": "cloudwatch",
"data_source_url": "https://cloudwatch.amazonaws.com"
},
{
"data_source_name": "PromName1",
"data_source_type": "prometheus",
"data_source_url": "https://prometheus.amazonaws.com"
},
{
"data_source_name": "PromName2",
"data_source_type": "prometheus",
"data_source_url": "https://prometheus2.amazonaws.com"
}
]
| [grafana\_url](#input\_grafana\_url) | The url to your Grafana instance. | `string` | n/a | yes |
| [grafana\_workspace\_id](#input\_grafana\_workspace\_id) | The workspace ID of the grafana instance you wish to modify. | `string` | n/a | yes |
| [prometheus\_workspace\_id](#input\_prometheus\_workspace\_id) | The workspace ID of the prometheus instance you wish to modify. | `string` | n/a | yes |## Outputs
No outputs.