Skip to content

Commit

Permalink
Merge branch 'main' into PC-13396-add-historial-data-retrieval-to-log…
Browse files Browse the repository at this point in the history
…ic-monitor
  • Loading branch information
BSski authored Aug 23, 2024
2 parents 9239838 + 9f25a77 commit 9ceab42
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ NAMESPACE=nobl9
NAME=nobl9
BIN_DIR=./bin
BINARY=$(BIN_DIR)/terraform-provider-$(NAME)
VERSION=0.28.0
VERSION=0.29.0
BUILD_FLAGS="-X github.com/nobl9/terraform-provider-nobl9/nobl9.Version=$(VERSION)"
OS_ARCH?=linux_amd64

# renovate datasource=github-releases depName=securego/gosec
GOSEC_VERSION := v2.20.0
# renovate datasource=github-releases depName=golangci/golangci-lint
GOLANGCI_LINT_VERSION := v1.60.2
GOLANGCI_LINT_VERSION := v1.60.3
# renovate datasource=go depName=golang.org/x/vuln/cmd/govulncheck
GOVULNCHECK_VERSION := v1.1.3
# renovate datasource=go depName=golang.org/x/tools/cmd/goimports
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ terraform {
required_providers {
nobl9 = {
source = "nobl9/nobl9"
version = "0.28.0"
version = "0.29.0"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions docs/resources/slo.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ Required:

Optional:

- `composite` (Block Set) An assembly of objectives from different SLOs reflecting their combined performance. (see [below for nested schema](#nestedblock--objective--composite))
- `composite` (Block Set, Max: 1) An assembly of objectives from different SLOs reflecting their combined performance. (see [below for nested schema](#nestedblock--objective--composite))
- `count_metrics` (Block Set) Compares two time series, calculating the ratio of either good or bad values to the total number of values. Fill either the 'good' or 'bad' series, but not both. (see [below for nested schema](#nestedblock--objective--count_metrics))
- `display_name` (String) Name to be displayed.
- `name` (String) Objective's name. This field is computed if not provided.
Expand All @@ -247,14 +247,14 @@ Required:

Optional:

- `components` (Block Set) Objectives to be assembled in your composite SLO. (see [below for nested schema](#nestedblock--objective--composite--components))
- `components` (Block Set, Max: 1) Objectives to be assembled in your composite SLO. (see [below for nested schema](#nestedblock--objective--composite--components))

<a id="nestedblock--objective--composite--components"></a>
### Nested Schema for `objective.composite.components`

Optional:

- `objectives` (Block Set) An additional nesting for the components of your composite SLO. (see [below for nested schema](#nestedblock--objective--composite--components--objectives))
- `objectives` (Block Set, Max: 1) An additional nesting for the components of your composite SLO. (see [below for nested schema](#nestedblock--objective--composite--components--objectives))

<a id="nestedblock--objective--composite--components--objectives"></a>
### Nested Schema for `objective.composite.components.objectives`
Expand Down
1 change: 1 addition & 0 deletions nobl9/resource_slo.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ func resourceObjective() *schema.Resource {
Type: schema.TypeSet,
Optional: true,
Description: "An assembly of objectives from different SLOs reflecting their combined performance.",
MaxItems: 1,
Elem: resourceComposite(),
},
"display_name": {
Expand Down
2 changes: 2 additions & 0 deletions nobl9/resource_slo_composite.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func resourceComposite() *schema.Resource {
Type: schema.TypeSet,
Optional: true,
Description: "Objectives to be assembled in your composite SLO.",
MaxItems: 1,
Elem: resourceCompositeComponents(),
},
},
Expand All @@ -33,6 +34,7 @@ func resourceCompositeComponents() *schema.Resource {
Type: schema.TypeSet,
Optional: true,
Description: "An additional nesting for the components of your composite SLO.",
MaxItems: 1,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"composite_objective": {
Expand Down

0 comments on commit 9ceab42

Please sign in to comment.