Skip to content

Commit

Permalink
Adds Service Level Objective (SLO) support (#263)
Browse files Browse the repository at this point in the history
* add SLO support

* fix docs

* fix docs

* small tweaks to formatting

* PR review fixes

* add clarifying sentence

* fix test

* fix provider to Optional fields

make syntax backwards compatible

suppress *_display changes

* because of https://github.com/hashicorp/terraform/issues/6215/ move from TypeMap to TypeList and validate

* add validation to query options

* Revert "add validation to query options"

This reverts commit 6338ed2.

* fix docs

address possible difference in state value for thresholds

* apply same logic to query since it is now TypeList

* fix

* ValueType casts as []interface{} for TypeList

* fix dangling character
  • Loading branch information
platinummonkey authored and nmuesch committed Aug 15, 2019
1 parent 99ef461 commit dacb378
Show file tree
Hide file tree
Showing 5 changed files with 826 additions and 0 deletions.
1 change: 1 addition & 0 deletions datadog/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func Provider() terraform.ResourceProvider {
"datadog_integration_aws": resourceDatadogIntegrationAws(),
"datadog_integration_pagerduty": resourceDatadogIntegrationPagerduty(),
"datadog_integration_pagerduty_service_object": resourceDatadogIntegrationPagerdutySO(),
"datadog_service_level_objective": resourceDatadogServiceLevelObjective(),
},

ConfigureFunc: providerConfigure,
Expand Down
Loading

0 comments on commit dacb378

Please sign in to comment.