Skip to content

Commit

Permalink
fix: Prometheus data-source authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Basty committed Aug 24, 2023
1 parent 06424db commit d7ff23f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terraform/monitoring/data_sources.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module "monitoring-role" {
source = "app.terraform.io/wallet-connect/monitoring-role/aws"
version = "1.0.2"
context = module.this
remote_role_arn = var.monitoring_role_arn
}

Expand All @@ -12,7 +13,7 @@ resource "grafana_data_source" "prometheus" {
json_data_encoded = jsonencode({
httpMethod = "GET"
sigV4Auth = true
sigV4AuthType = "workspace-iam-role"
sigV4AuthType = "ec2_iam_role"
sigV4Region = module.this.region
sigV4AssumeRoleArn = module.monitoring-role.iam_role_arn
})
Expand Down

0 comments on commit d7ff23f

Please sign in to comment.