generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/netbox_device_custom_fields
- Loading branch information
Showing
120 changed files
with
2,984 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,15 +25,15 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18 | ||
go-version: 1.19 | ||
- name: Import GPG key | ||
id: import_gpg | ||
uses: paultyng/[email protected] | ||
env: | ||
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | ||
PASSPHRASE: ${{ secrets.PASSPHRASE }} | ||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v3.1.0 | ||
uses: goreleaser/goreleaser-action@v3.2.0 | ||
with: | ||
version: latest | ||
args: release --rm-dist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
*.dll | ||
*.exe | ||
.envrc | ||
.DS_Store | ||
example.tf | ||
terraform.tfplan | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
# generated by https://github.com/fbreckle/terraform-plugin-docs | ||
page_title: "netbox_asn Data Source - terraform-provider-netbox" | ||
subcategory: "IP Address Management (IPAM)" | ||
description: |- | ||
--- | ||
|
||
# netbox_asn (Data Source) | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "netbox_asn" "asn_1" { | ||
asn = "1111" | ||
tag = "tag-1" | ||
} | ||
data "netbox_asn" "asn_2" { | ||
tag = "tag-1" | ||
tag__n = "tag-2" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `asn` (String) At least one of `asn` or `tag` must be given. | ||
- `tag` (String) Tag to include in the data source filter (must match the tag's slug). At least one of `asn` or `tag` must be given. | ||
- `tag__n` (String) Tag to exclude from the data source filter (must match the tag's slug). | ||
Refer to [Netbox's documentation](https://demo.netbox.dev/static/docs/rest-api/filtering/#lookup-expressions) | ||
for more information on available lookup expressions. | ||
|
||
### Read-Only | ||
|
||
- `description` (String) | ||
- `id` (Number) The ID of this resource. | ||
- `tags` (Set of String) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
# generated by https://github.com/fbreckle/terraform-plugin-docs | ||
page_title: "netbox_asns Data Source - terraform-provider-netbox" | ||
subcategory: "IP Address Management (IPAM)" | ||
description: |- | ||
--- | ||
|
||
# netbox_asns (Data Source) | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "netbox_asns" "asns" { | ||
filter { | ||
name = "asn__gte" | ||
value = "1000" | ||
} | ||
filter { | ||
name = "asn__lte" | ||
value = "2000" | ||
} | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `filter` (Block Set) (see [below for nested schema](#nestedblock--filter)) | ||
- `limit` (Number) Defaults to `0`. | ||
|
||
### Read-Only | ||
|
||
- `asns` (List of Object) (see [below for nested schema](#nestedatt--asns)) | ||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedblock--filter"></a> | ||
### Nested Schema for `filter` | ||
|
||
Required: | ||
|
||
- `name` (String) | ||
- `value` (String) | ||
|
||
|
||
<a id="nestedatt--asns"></a> | ||
### Nested Schema for `asns` | ||
|
||
Read-Only: | ||
|
||
- `asn` (Number) | ||
- `id` (Number) | ||
- `rir_id` (Number) | ||
- `tags` (Set of String) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
# generated by https://github.com/fbreckle/terraform-plugin-docs | ||
page_title: "netbox_prefixes Data Source - terraform-provider-netbox" | ||
subcategory: "IP Address Management (IPAM)" | ||
description: |- | ||
--- | ||
|
||
# netbox_prefixes (Data Source) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Optional | ||
|
||
- `filter` (Block Set) (see [below for nested schema](#nestedblock--filter)) | ||
- `limit` (Number) Defaults to `0`. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
- `prefixes` (List of Object) (see [below for nested schema](#nestedatt--prefixes)) | ||
|
||
<a id="nestedblock--filter"></a> | ||
### Nested Schema for `filter` | ||
|
||
Required: | ||
|
||
- `name` (String) | ||
- `value` (String) | ||
|
||
|
||
<a id="nestedatt--prefixes"></a> | ||
### Nested Schema for `prefixes` | ||
|
||
Read-Only: | ||
|
||
- `id` (Number) | ||
- `prefix` (String) | ||
- `status` (String) | ||
- `vlan_id` (Number) | ||
- `vlan_vid` (Number) | ||
- `vrf_id` (Number) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.