Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gfenn-newbury committed Dec 21, 2021
1 parent 78de49c commit d0731f0
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

## Pre-release

### 0.3.0 (Upcoming)
#### Features:
- Added ability to manage Wireguard interfaces
- Added ability to manage Wireguard peers

#### Misc:
- Updated documentation and readme
- Added Github Actions to test code in pull requests to `main` and to branches matching `release/*`
- Added Github Actions to publish a release

### 0.2.1 (2021-12-21)
#### Bug Fix
- Fixed a bug where the Arp of a `resource.routeros_interface_bridge` was read as a `bool` rather than a `string` in the Get function. This caused Terraform to throw an error whenever it needed to read a `routeros_interface_bridge` resource.
Expand Down
41 changes: 41 additions & 0 deletions docs/resources/interface_wireguard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "routeros_interface_wireguard Resource - terraform-provider-routeros"
subcategory: "Interface"
description: |-
Use this resource to create a wireguard interface.
---

# routeros_interface_wireguard (Resource)

```terraform
resource "routeros_interface_wireguard" "test_wg_interface" {
name = "test_wg_interface"
listen_port = "13231"
}
```

**Warning** Attribute `private_key` is sensitive, however it will be present in state in plaintext. Ensure your state is stored securely.

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- **listen_port** (Number)
- **name** (String)

### Optional

- **disabled** (Boolean)
- **id** (String) The ID of this resource.
- **mtu** (Number)

### Read-Only

- **private_key** (String, Sensitive)
- **public_key** (String)
- **running** (Boolean)


0 comments on commit d0731f0

Please sign in to comment.