Skip to content

Commit

Permalink
Update terraform docs plugin to v0.8.0
Browse files Browse the repository at this point in the history
Closes #8.
  • Loading branch information
OJFord committed May 3, 2022
1 parent 961f73b commit 5c14e5d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

- name: Check docs updated
run: |
version=0.7.0
version=0.8.0
curl \
-L https://github.com/hashicorp/terraform-plugin-docs/releases/download/v${version}/tfplugindocs_${version}_linux_amd64.zip \
--output tfplugindocs.zip
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/config_document.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ output "peer1" {
- `addresses` (Set of String) IPs (or CIDR) to be assigned to the interface. (`wg-quick`/apps only.)
- `dns` (Set of String) IPs or hostnames of Domain Name Servers to set as the interface's DNS search domains. (`wg-quick`/apps only.)
- `firewall_mark` (String) A 32-bit fwmark for outgoing packets.
- `id` (String) The ID of this resource.
- `listen_port` (Number) .
- `mtu` (Number) Manual MTU to override automatic discovery. (`wg-quick`/apps only.)
- `peer` (Block List) (see [below for nested schema](#nestedblock--peer))
Expand All @@ -72,6 +71,7 @@ output "peer1" {
### Read-Only

- `conf` (String, Sensitive) The rendered config document.
- `id` (String) The ID of this resource.

<a id="nestedblock--peer"></a>
### Nested Schema for `peer`
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/asymmetric_key.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ output "wg_private_key" {
### Optional

- `bind` (String) A string to tie the lifecycle to, e.g. the terraform ID of another resource.
- `id` (String) The ID of this resource.
- `private_key` (String, Sensitive) A supplied WireGuard private key. By default one is generated.

### Read-Only

- `id` (String) The ID of this resource.
- `public_key` (String) The public key corresponding to the (given or generated) private key.


5 changes: 1 addition & 4 deletions docs/resources/preshared_key.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,9 @@ output "wg_preshared_key" {
<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- `id` (String) The ID of this resource.

### Read-Only

- `id` (String) The ID of this resource.
- `key` (String, Sensitive) Additional layer of symmetric-key cryptography to be mixed into the already existing public-key cryptography, for post-quantum resistance.


0 comments on commit 5c14e5d

Please sign in to comment.