File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 33BUG FIXES:
44
55* is_active is now required in sumologic_user, doc fixes
6+ * monitor doc fixes and improvements
67
78## 2.6.3 (January 15, 2021)
89
Original file line number Diff line number Diff line change @@ -2,7 +2,11 @@ TEST?=$$(go list ./... |grep -v 'vendor')
22GOFMT_FILES? =$$(find . -name '*.go' |grep -v vendor )
33WEBSITE_REPO =github.com/hashicorp/terraform-website
44PKG_NAME =sumologic
5+ DEV_VERSION_NUMBER =2.7.1
56PLUGIN_DIR =~/.terraform.d/plugins
7+ # PLUGIN_DIR_V13=~/.terraform.d/plugins/registry.terraform.io/sumologic/sumologic
8+ PLUGIN_DIR_V13 =~/.terraform.d/providers/registry.terraform.io/sumologic/sumologic
9+ PLUGIN_DIR_SUFFIX =$(DEV_VERSION_NUMBER ) /darwin_amd64
610
711default : build
812
@@ -17,8 +21,14 @@ install: fmtcheck
1721 mkdir -vp $(PLUGIN_DIR )
1822 go build -o $(PLUGIN_DIR ) /terraform-provider-sumologic
1923
24+ # separate command for installing in the right directory for terraform v0.13+
25+ install-v13 : fmtcheck
26+ mkdir -vp $(PLUGIN_DIR )
27+ go build -o $(PLUGIN_DIR_V13 ) /$(PLUGIN_DIR_SUFFIX ) /terraform-provider-sumologic
28+
2029uninstall :
2130 @rm -vf $(PLUGIN_DIR ) /terraform-provider-sumologic
31+ @rm -vf $(PLUGIN_DIR_V13 ) /$(PLUGIN_DIR_SUFFIX ) /terraform-provider-sumologic
2232
2333errcheck :
2434 @sh -c " '$( CURDIR) /scripts/errcheck.sh'"
Original file line number Diff line number Diff line change @@ -81,17 +81,17 @@ resource "sumologic_monitor" "tf_metrics_monitor_1" {
8181 threshold_type = "GreaterThanOrEqual"
8282 threshold = 40.0
8383 time_range = "15m"
84- occurrence_type = "Always "
85- trigger_source = "AllTimeSeries "
84+ occurrence_type = "AtLeastOnce "
85+ trigger_source = "AnyTimeSeries "
8686 trigger_type = "Critical"
8787 detection_method = "StaticCondition"
8888 }
8989 triggers {
9090 threshold_type = "LessThan"
91- threshold = 30 .0
91+ threshold = 40 .0
9292 time_range = "15m"
9393 occurrence_type = "Always"
94- trigger_source = "AllTimeSeries "
94+ trigger_source = "AnyTimeSeries "
9595 trigger_type = "ResolvedCritical"
9696 detection_method = "StaticCondition"
9797 }
You can’t perform that action at this time.
0 commit comments