From 650cae3364d9e329d529329b522593819f954573 Mon Sep 17 00:00:00 2001 From: Quentin Manfroi Date: Tue, 3 Dec 2019 12:54:41 +0100 Subject: [PATCH] MON-519 use terraform registry for main readme --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8afc60c..c6cf645 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,8 @@ locals { } module "datadog-message-alerting" { - source = "git::ssh://git@github.com/claranet/terraform-datadog-monitors.git//common/alerting-message?ref={RELEASE}" + source = "claranet/monitors/datadog//common/alerting-message" + version = "{revision}" message_alert = local.oncall_24x7 message_warning = local.oncall_office_hours @@ -85,7 +86,8 @@ module "datadog-message-alerting" { } module "datadog-message-alerting-bh-only" { - source = "git::ssh://git@github.com/claranet/terraform-datadog-monitors.git//common/alerting-message?ref={RELEASE}" + source = "claranet/monitors/datadog//common/alerting-message" + version = "{revision}" message_alert = local.oncall_office_hours message_warning = local.oncall_office_hours @@ -93,7 +95,8 @@ module "datadog-message-alerting-bh-only" { } module "datadog-monitors-system-generic" { - source = "git::ssh://git@github.com/claranet/terraform-datadog-monitors.git//system/generic?ref={RELEASE}" + source = "claranet/monitors/datadog//system/generic" + version = "{revision}" environment = var.environment message = module.datadog-message-alerting.alerting-message @@ -104,7 +107,8 @@ module "datadog-monitors-system-generic" { # Other monitors modules to declare ... #module "datadog-monitors-my-monitors-set" { -# source = "git::ssh://git@github.com/claranet/terraform-datadog-monitors.git//my/monitors/set?ref={RELEASE}" +# source = "claranet/monitors/datadog//my/monitors/set" +# version = "{revision}" # # environment = var.environment # message = module.datadog-message-alerting.alerting-message