Skip to content

Commit

Permalink
Merge pull request #1 from Technobeats/update_templates
Browse files Browse the repository at this point in the history
updated templates to add dd_ to the id
  • Loading branch information
Technobeats authored Nov 12, 2019
2 parents 5f2789c + 293c488 commit a15ce7b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tmpl/monitor.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource "datadog_monitor" "{{ .Id }}" {
resource "datadog_monitor" "dd_{{ .Id }}" {
name = "{{ .Name }}"
type = "{{ .Type }}"
{{- if .Tags }}
Expand Down
2 changes: 1 addition & 1 deletion tmpl/screenboard.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource "datadog_screenboard" "{{ .Id }}" {
resource "datadog_screenboard" "dd_{{ .Id }}" {
title = "{{ .Title }}"
{{- if .ReadOnly }}
read_only = {{ .ReadOnly }}
Expand Down
2 changes: 1 addition & 1 deletion tmpl/timeboard.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource "datadog_timeboard" "{{ .Id }}" {
resource "datadog_timeboard" "dd_{{ .Id }}" {
title = "{{ .Title }}"
description = "{{ .Description }}"
read_only = {{ .ReadOnly -}}
Expand Down

0 comments on commit a15ce7b

Please sign in to comment.