Skip to content

Commit

Permalink
fix config error
Browse files Browse the repository at this point in the history
  • Loading branch information
Emterry committed Dec 4, 2023
1 parent e79257e commit 11a0f29
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,7 @@ data "aws_iam_session_context" "whoami" {
data "http" "environments_file" {
url = "https://raw.githubusercontent.com/ministryofjustice/modernisation-platform/main/environments/${local.application_name}.json"
}

data "aws_cloudwatch_event_bus" "auth0" {
name = "aws.partner/auth0.com/alpha-analytics-moj-5991c2c1-c1a9-40e6-8460-b4bef6f519e7/auth0.logs" // This was created by Auth0, we accepted it in the UI
}
6 changes: 1 addition & 5 deletions terraform/environments/observability-platform/data.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
data "http" "environments_file" {
url = "https://raw.githubusercontent.com/ministryofjustice/modernisation-platform/main/environments/${local.application_name}.json"
}

data "aws_region" "current" {}
#### This file can be used to store data specific to the member account ####
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ resource "aws_grafana_workspace_api_key" "automation_key" {


module "cloudwatch_sources" {
source = "./modules/cloudwatch-source"
source = "./modules/cloudwatch_source"

datasource_names = local.all_cloudwatch_sources
environment_management = local.environment_management
Expand Down

0 comments on commit 11a0f29

Please sign in to comment.