Skip to content

Commit

Permalink
Fix alert with notification channels (#25)
Browse files Browse the repository at this point in the history
* Add team resource

Signed-off-by: Hiroki Suezawa <[email protected]>

* fix: sysdig_monitor_alert_metric crashing when using notification_channels

Signed-off-by: Federico Barcelona <[email protected]>

Co-authored-by: Hiroki Suezawa <[email protected]>
  • Loading branch information
tembleking and rung authored Apr 23, 2020
1 parent 7866876 commit 20b0737
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 34 deletions.
4 changes: 3 additions & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TEST?=./...
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
PKG_NAME=sysdig
WEBSITE_REPO=github.com/hashicorp/terraform-website
VERSION=$(shell [ ! -z `git tag -l --contains HEAD` ] && git tag -l --contains HEAD || git rev-parse --short HEAD)

default: build

Expand Down Expand Up @@ -53,7 +54,8 @@ release: fmtcheck
for dist in $$(go tool dist list | grep $$kernel); do \
GOOS=$$kernel; \
GOARCH=$$(echo $$dist | cut -d/ -f2); \
GOOS=$$GOOS GOARCH=$$GOARCH go build -o terraform-provider-sysdig-$$GOOS-$$GOARCH; \
GOOS=$$GOOS GOARCH=$$GOARCH go build -o terraform-provider-sysdig_$(VERSION); \
tar -czf terraform-provider-sysdig-$$GOOS-$$GOARCH.tar.gz terraform-provider-sysdig_$(VERSION) --remove-files; \
done \
done

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/draios/terraform-provider-sysdig

go 1.12

require github.com/hashicorp/terraform-plugin-sdk v1.0.0
require github.com/hashicorp/terraform-plugin-sdk v1.10.0
Loading

0 comments on commit 20b0737

Please sign in to comment.