Skip to content

Commit

Permalink
Merge pull request #44 from kunduso/update-provider-version
Browse files Browse the repository at this point in the history
Update grafana provider version to 2.8.1
  • Loading branch information
kunduso authored Jan 15, 2024
2 parents 0ccc601 + 6800c25 commit 9312260
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion amg_dashboard/azure-pipelines-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ variables:
- name: region
value: 'us-east-2'
- name: workspace
value: 'g-295a2eacac'
value: 'g-2cfb445889'
- name: profile
value: 'PSProfile'

Expand Down
8 changes: 4 additions & 4 deletions amg_dashboard/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
resource "grafana_data_source" "cloudwatch" {
type = "cloudwatch"
name = "cw-datasource"
json_data {
json_data_encoded = jsonencode({
default_region = "us-east-2"
}
})
}
#https://registry.terraform.io/providers/grafana/grafana/latest/docs/resources/folder
resource "grafana_folder" "data" {
Expand All @@ -13,6 +13,6 @@ resource "grafana_folder" "data" {
#https://registry.terraform.io/providers/grafana/grafana/latest/docs/resources/dashboard
resource "grafana_dashboard" "cloudwatch-logs" {
config_json = file("./dashboard/amazon-cloudwatch-logs_rev1.json")
folder = grafana_folder.data.id
overwrite = true
folder = grafana_folder.data.id
overwrite = true
}
4 changes: 2 additions & 2 deletions amg_dashboard/provider.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#https://registry.terraform.io/providers/grafana/grafana/1.30.0
#https://registry.terraform.io/providers/grafana/grafana/2.8.1
terraform {
required_providers {
grafana = {
source = "grafana/grafana"
version = "1.30.0"
version = "2.8.1"
}
}
}
Expand Down

0 comments on commit 9312260

Please sign in to comment.