Skip to content

Commit 5a81a55

Browse files
committed
docs: update docs
1 parent 4db2400 commit 5a81a55

File tree

5 files changed

+10
-16
lines changed

5 files changed

+10
-16
lines changed

.github/workflows/ci-testing.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,9 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
netbox-version:
36-
# - v4.0.0 has mandatory tenant group
37-
- v4.0.1
38-
- v4.0.2
39-
- v4.0.3
40-
# - v4.0.4 does not exist for some reason
41-
- v4.0.5
42-
- v4.0.6
43-
- v4.0.7
44-
- v4.0.8
45-
- v4.0.9
46-
- v4.0.10
36+
- v4.1.0
37+
- v4.1.1
38+
- v4.1.2
4739
steps:
4840
- uses: actions/checkout@v4
4941
- name: Set up Go

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ TEST_FUNC?=TestAccNetboxEventRule_basic
33
GOFMT_FILES?=$$(find . -name '*.go' | grep -v vendor)
44
DOCKER_COMPOSE=docker compose
55

6-
export NETBOX_VERSION=v4.0.10
6+
export NETBOX_VERSION=v4.1.2
77
export NETBOX_SERVER_URL=http://localhost:8001
88
export NETBOX_API_TOKEN=0123456789abcdef0123456789abcdef01234567
99
export NETBOX_TOKEN=$(NETBOX_API_TOKEN)

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ Netbox often makes breaking API changes even in non-major releases. Check the ta
1717
Since version [1.6.6](https://github.com/e-breuninger/terraform-provider-netbox/commit/0b0b2fffa54d4ab2e5f1677e948b01e56ba211c8), each version of the provider has a built-in list of all Netbox versions it supports at release time. Upon initialization, the provider will probe your Netbox version and include a (non-blocking) warning if the used Netbox version is not supported.
1818

1919
| Netbox version | Provider version |
20-
| --------------- | ---------------- |
21-
| v4.0.0 - 4.0.10 | v3.9.0 and up |
20+
|-----------------|------------------|
21+
| v4.1.0 - 4.1.2 | v3.10.0 and up |
22+
| v4.0.0 - 4.0.10 | v3.9.0 - 3.9.1 |
2223
| v3.7.0 - 3.7.8 | v3.8.0 - 3.8.9 |
2324
| v3.6.0 - 3.6.9 | v3.7.0 - 3.7.7 |
2425
| v3.5.1 - 3.5.9 | v3.6.x |

netbox/provider.go

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

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

298-
supportedVersions := []string{"4.0.0", "4.0.1", "4.0.2", "4.0.3", "4.0.5", "4.0.6", "4.0.7", "4.0.8", "4.0.9", "4.0.10"}
298+
supportedVersions := []string{"4.1.0", "4.1.1", "4.1.2"}
299299

300300
if !slices.Contains(supportedVersions, netboxVersion) {
301301
// 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

templates/index.md.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Netbox often makes breaking API changes even in non-major releases. Check the ta
1616

1717
| Netbox version | Provider version |
1818
| --------------- | ---------------- |
19-
| v4.0.0 - 4.0.10 | v3.9.0 and up |
19+
| v4.1.0 - 4.1.2 | v3.10.0 and up |
20+
| v4.0.0 - 4.0.10 | v3.9.0 - 3.9.1 |
2021
| v3.7.0 - 3.7.8 | v3.8.0 - 3.8.9 |
2122
| v3.6.0 - 3.6.9 | v3.7.0 - 3.7.7 |
2223
| v3.5.1 - 3.5.9 | v3.6.x |

0 commit comments

Comments
 (0)