generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add description and comments field to asn schema. formatting ot…
…her terraform code and docs included in this. feat: add new fields to test function feat: update example with new fields and format docs: update asn docs fix: use optional instead of required for schema docs: refreshing other docs refactor: making description fields more consistently worded for this resource refactor: cleaning up some whitespace refactor: consistent whitespace
- Loading branch information
Showing
8 changed files
with
64 additions
and
36 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
resource "netbox_config_context" "test" { | ||
name = "%s" | ||
data = jsonencode({"testkey" = "testval"}) | ||
data = jsonencode({ "testkey" = "testval" }) | ||
} |
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,19 +1,19 @@ | ||
resource "netbox_manufacturer" "test" { | ||
name = "my-manufacturer" | ||
name = "my-manufacturer" | ||
} | ||
|
||
resource "netbox_device_type" "test" { | ||
model = "test-model" | ||
slug = "test-model" | ||
part_number = "test-part-number" | ||
manufacturer_id = netbox_manufacturer.test.id | ||
model = "test-model" | ||
slug = "test-model" | ||
part_number = "test-part-number" | ||
manufacturer_id = netbox_manufacturer.test.id | ||
} | ||
|
||
resource "netbox_interface_template" "test" { | ||
name = "eth0" | ||
description = "eth0 description" | ||
label = "eth0 label" | ||
device_type_id = netbox_device_type.test.id | ||
type = "100base-tx" | ||
mgmt_only = true | ||
name = "eth0" | ||
description = "eth0 description" | ||
label = "eth0 label" | ||
device_type_id = netbox_device_type.test.id | ||
type = "100base-tx" | ||
mgmt_only = true | ||
} |
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