Skip to content

Commit

Permalink
Cut Release 'v1.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
opslevel-ops committed Jun 17, 2024
1 parent f77339f commit 965b554
Show file tree
Hide file tree
Showing 21 changed files with 239 additions and 38 deletions.
3 changes: 0 additions & 3 deletions .changes/unreleased/Bugfix-20240611-155035.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Bugfix-20240611-155041.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Bugfix-20240611-155044.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Bugfix-20240611-155047.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Bugfix-20240613-102557.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Bugfix-20240614-122130.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Bugfix-20240614-151336.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Dependency-20240617-091940.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Deprecated-20240614-151143.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Feature-20240612-112423.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Feature-20240613-102821.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/unreleased/Refactor-20240614-121951.yaml

This file was deleted.

18 changes: 18 additions & 0 deletions .changes/v1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## [June 17, 2024](https://github.com/OpsLevel/terraform-provider-opslevel/compare/v1.0.3...v1.1.0)
### Bugfix
- fix terraform import of opslevel_service_tag resource
- fix terraform import of opslevel_service_tool resource
- fix terraform import of opslevel_team_tag resource
- fix terraform import of opslevel_team_contact resource
- fix opslevel_filter predicate fields 'case_sensitive', 'case_insensitive' - they were set incorrectly
- fix unsetting case sensitive fields in opslevel_filter predicate list
- fix predicate value fields. may be set or null, but not empty string
### Feature
- add rubric category data to scorecard data sources
- add filter predicate config validation
### Refactor
- change opslevel_filter predicate field to Terraform List from []filterPredicate
### Deprecated
- the case_insensitive field in opslevel_filter is marked for removal
### Dependency
- bump opslevel-go version to v2024.6.17
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,24 @@
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and is generated by [Changie](https://github.com/miniscruff/changie).## [June 11, 2024](https://github.com/OpsLevel/terraform-provider-opslevel/compare/v1.0.2...v1.0.3)
and is generated by [Changie](https://github.com/miniscruff/changie).## [June 17, 2024](https://github.com/OpsLevel/terraform-provider-opslevel/compare/v1.0.3...v1.1.0)
### Bugfix
- fix terraform import of opslevel_service_tag resource
- fix terraform import of opslevel_service_tool resource
- fix terraform import of opslevel_team_tag resource
- fix terraform import of opslevel_team_contact resource
- fix opslevel_filter predicate fields 'case_sensitive', 'case_insensitive' - they were set incorrectly
- fix unsetting case sensitive fields in opslevel_filter predicate list
- fix predicate value fields. may be set or null, but not empty string
### Feature
- add rubric category data to scorecard data sources
- add filter predicate config validation
### Refactor
- change opslevel_filter predicate field to Terraform List from []filterPredicate
### Deprecated
- the case_insensitive field in opslevel_filter is marked for removal
### Dependency
- bump opslevel-go version to v2024.6.17## [June 11, 2024](https://github.com/OpsLevel/terraform-provider-opslevel/compare/v1.0.2...v1.0.3)
### Bugfix
- fix Value Conversion Error on Predicates in opslevel_check_tool_usage
- ensure order of team members alone does not trigger update
Expand Down
17 changes: 17 additions & 0 deletions docs/data-sources/scorecard.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ data "opslevel_scorecard" "foo" {
data "opslevel_scorecard" "bar" {
identifier = "Z2lkOi8vb3BzbGV2ZWwvU2VydmljZS84Njcw"
}
output "foo_category_ids" {
value = flatten(data.opslevel_scorecard.foo.categories[*].id)
}
output "foo_categories" {
value = data.opslevel_scorecard.foo.categories
}
```

<!-- schema generated by tfplugindocs -->
Expand All @@ -33,6 +41,7 @@ data "opslevel_scorecard" "bar" {

- `affects_overall_service_levels` (Boolean) Specifies whether the checks on this scorecard affect services' overall maturity level.
- `aliases` (List of String) The scorecard's aliases.
- `categories` (Attributes List) The scorecard's rubric categories. (see [below for nested schema](#nestedatt--categories))
- `description` (String) The scorecard's description.
- `filter_id` (String) The scorecard's filter.
- `id` (String) The ID of this resource.
Expand All @@ -42,4 +51,12 @@ data "opslevel_scorecard" "bar" {
- `service_count` (Number) The scorecard's number of services matched.
- `total_checks` (Number) The scorecard's total number of checks.

<a id="nestedatt--categories"></a>
### Nested Schema for `categories`

Read-Only:

- `id` (String) The ID of this resource.
- `name` (String) The name of the rubric category.


9 changes: 9 additions & 0 deletions docs/data-sources/scorecards.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Read-Only:

- `affects_overall_service_levels` (Boolean) Specifies whether the checks on this scorecard affect services' overall maturity level.
- `aliases` (List of String) The scorecard's aliases.
- `categories` (Attributes List) The scorecard's rubric categories. (see [below for nested schema](#nestedatt--scorecards--categories))
- `description` (String) The scorecard's description.
- `filter_id` (String) The scorecard's filter.
- `id` (String) The ID of this resource.
Expand All @@ -47,4 +48,12 @@ Read-Only:
- `service_count` (Number) The scorecard's number of services matched.
- `total_checks` (Number) The scorecard's total number of checks.

<a id="nestedatt--scorecards--categories"></a>
### Nested Schema for `scorecards.categories`

Read-Only:

- `id` (String) The ID of this resource.
- `name` (String) The name of the rubric category.


2 changes: 1 addition & 1 deletion docs/resources/filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Required:

Optional:

- `case_insensitive` (Boolean) Option for determining whether to compare strings case-sensitively. Not settable for all predicate types.
- `case_insensitive` (Boolean, Deprecated) Option for determining whether to compare strings case-sensitively. Not settable for all predicate types.
- `case_sensitive` (Boolean) Option for determining whether to compare strings case-sensitively. Not settable for all predicate types.
- `key_data` (String) Additional data used by the predicate. This field is used by predicates with key = 'tags' to specify the tag key. For example, to create a predicate for services containing the tag 'db:mysql', set key_data = 'db' and value = 'mysql'.
- `value` (String) The condition value used by the predicate.
Expand Down
6 changes: 6 additions & 0 deletions docs/resources/service_tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,10 @@ resource "opslevel_service_tag" "service_tag_2" {

- `id` (String) The ID of this resource.

## Import

Import is supported using the following syntax:

```shell
terraform import opslevel_service_tag.example Z2lkOi8vb3BzbGV2ZWwvU2VydmljZS85MTQyOQ:Z2lkOi8vb3BzbGV2ZWwvUHJvcGVydGllczo6RGVmaW5pdGlvbi8xODA
```
6 changes: 6 additions & 0 deletions docs/resources/team_tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,10 @@ resource "opslevel_team_tag" "team_tag_2" {

- `id` (String) The ID of this resource.

## Import

Import is supported using the following syntax:

```shell
terraform import opslevel_team_tag.example Z2lkOi8vb3BzbGV2ZWwvU2VydmljZS85MTQyOQ:Z2lkOi8vb3BzbGV2ZWwvUHJvcGVydGllczo6RGVmaW5pdGlvbi8xODA
```
18 changes: 18 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ require (
)

require (
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver/v3 v3.2.1 // indirect
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/bgentry/speakeasy v0.1.0 // indirect
github.com/fatih/color v1.17.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.4 // indirect
github.com/go-playground/locales v0.14.1 // indirect
Expand All @@ -23,11 +28,19 @@ require (
github.com/google/uuid v1.6.0 // indirect
github.com/gosimple/slug v1.14.0 // indirect
github.com/gosimple/unidecode v1.0.1 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.6.1 // indirect
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/hashicorp/hc-install v0.4.0 // indirect
github.com/hashicorp/terraform-exec v0.17.2 // indirect
github.com/hashicorp/terraform-json v0.14.0 // indirect
github.com/hashicorp/terraform-plugin-docs v0.13.0 // indirect
github.com/hashicorp/terraform-plugin-go v0.23.0 // indirect
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
Expand All @@ -38,17 +51,22 @@ require (
github.com/leodido/go-urn v1.4.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mitchellh/cli v1.1.4 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/opslevel/moredefaults v0.0.0-20240529152742-17d1318a3c12 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/posener/complete v1.2.3 // indirect
github.com/rs/zerolog v1.33.0 // indirect
github.com/russross/blackfriday v1.6.0 // indirect
github.com/shopspring/decimal v1.3.1 // indirect
github.com/spf13/cast v1.6.0 // indirect
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/zclconf/go-cty v1.13.1 // indirect
golang.org/x/crypto v0.24.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/text v0.16.0 // indirect
Expand Down
Loading

0 comments on commit 965b554

Please sign in to comment.