From 5c14e5d8a48eed95fdc9c1983769a50360debc99 Mon Sep 17 00:00:00 2001 From: Oliver Ford Date: Tue, 3 May 2022 18:37:28 +0100 Subject: [PATCH] Update terraform docs plugin to v0.8.0 Closes #8. --- .github/workflows/check.yml | 2 +- docs/data-sources/config_document.md | 2 +- docs/resources/asymmetric_key.md | 2 +- docs/resources/preshared_key.md | 5 +---- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a22c5f3..fdfa9d7 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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 diff --git a/docs/data-sources/config_document.md b/docs/data-sources/config_document.md index 094d39d..f5dc77e 100644 --- a/docs/data-sources/config_document.md +++ b/docs/data-sources/config_document.md @@ -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)) @@ -72,6 +71,7 @@ output "peer1" { ### Read-Only - `conf` (String, Sensitive) The rendered config document. +- `id` (String) The ID of this resource. ### Nested Schema for `peer` diff --git a/docs/resources/asymmetric_key.md b/docs/resources/asymmetric_key.md index 12eb870..cc49549 100644 --- a/docs/resources/asymmetric_key.md +++ b/docs/resources/asymmetric_key.md @@ -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. diff --git a/docs/resources/preshared_key.md b/docs/resources/preshared_key.md index 8f73028..104fe50 100644 --- a/docs/resources/preshared_key.md +++ b/docs/resources/preshared_key.md @@ -26,12 +26,9 @@ output "wg_preshared_key" { ## 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.