Skip to content

Commit 56be210

Browse files
committed
chore: update tested versions
1 parent cc618bb commit 56be210

2 files changed

Lines changed: 2 additions & 13 deletions

File tree

.github/workflows/ci-testing.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,7 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
netbox-version:
37-
- v4.1.0
38-
- v4.1.1
39-
- v4.1.2
40-
- v4.1.3
41-
- v4.1.4
42-
- v4.1.5
43-
- v4.1.6
44-
- v4.1.7
45-
- v4.1.8
46-
# - v4.1.9 has a regression - do not use
47-
- v4.1.10
48-
- v4.1.11
37+
- v4.2.1
4938
steps:
5039
- uses: actions/checkout@v4
5140
- name: Set up Go

netbox/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ func providerConfigure(ctx context.Context, data *schema.ResourceData) (interfac
331331

332332
netboxVersion := res.GetPayload().(map[string]interface{})["netbox-version"].(string)
333333

334-
supportedVersions := []string{"4.1.0", "4.1.1", "4.1.2", "4.1.3", "4.1.4", "4.1.5", "4.1.6", "4.1.7", "4.1.8", "4.1.10", "4.1.11"}
334+
supportedVersions := []string{"4.2.1"}
335335

336336
if !slices.Contains(supportedVersions, netboxVersion) {
337337
// Currently, there is no way to test these warnings. There is an issue to track this: https://github.com/hashicorp/terraform-plugin-sdk/issues/864

0 commit comments

Comments
 (0)