Skip to content

Commit

Permalink
Add example to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Mar 24, 2024
1 parent 6f2c415 commit 4fd71a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/resources/save_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ description: |-

This resources is used to save the config which is the equivalent of doing a `copy running-config startup-config` in the device CLI.

## Example Usage

```terraform
resource "nxos_save_config" "example" {
}
```

<!-- schema generated by tfplugindocs -->
## Schema
Expand Down
2 changes: 2 additions & 0 deletions examples/resources/nxos_save_config/resource.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
resource "nxos_save_config" "example" {
}

0 comments on commit 4fd71a9

Please sign in to comment.