Skip to content

Commit

Permalink
Fix Vault Docs (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
aidan-mundy committed Sep 28, 2023
1 parent 3811ce9 commit 7b32fc3
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/vault_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ page_title: "hcp_vault_cluster Data Source - terraform-provider-hcp"
subcategory: "HCP Vault"
description: |-
The cluster data source provides information about an existing HCP Vault cluster.
---

# hcp_vault_cluster (Data Source)

Expand Down Expand Up @@ -110,4 +111,3 @@ Read-Only:
- `grafana_endpoint` (String) Grafana endpoint for streaming metrics
- `grafana_user` (String) Grafana user for streaming metrics
- `splunk_hecendpoint` (String) Splunk endpoint for streaming metrics

5 changes: 1 addition & 4 deletions docs/data-sources/vault_plugin.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_vault_plugin Data Source - terraform-provider-hcp"
subcategory: ""
subcategory: "HCP Vault"
description: |-
The Vault plugin data source provides information about an existing HCP Vault plugin
---
Expand All @@ -10,8 +9,6 @@ description: |-

The Vault plugin data source provides information about an existing HCP Vault plugin



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

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/vault-admin-token.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
subcategory: ""
subcategory: "HCP Vault"
page_title: "Create a Vault cluster and admin token - HCP Provider"
description: |-
An example of creating a Vault cluster and admin token.
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/vault-performance-replication.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
subcategory: ""
subcategory: "HCP Vault"
page_title: "Configure Vault performance replication - HCP Provider"
description: |-
Configure performance replication between two Plus tier clusters.
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/vault-scaling.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
subcategory: ""
subcategory: "HCP Vault"
page_title: "Resize or scale a Vault cluster - HCP Provider"
description: |-
Change a current HCP Vault cluster in terms of tiers (Dev, Starter, Standard, Plus) or sizes (S, M, L).
Expand Down
5 changes: 1 addition & 4 deletions docs/resources/vault_plugin.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hcp_vault_plugin Resource - terraform-provider-hcp"
subcategory: ""
subcategory: "HCP Vault"
description: |-
The Vault plugin resource allows you to manage an HCP Vault plugin.
---
Expand All @@ -10,8 +9,6 @@ description: |-

The Vault plugin resource allows you to manage an HCP Vault plugin.



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

Expand Down
2 changes: 1 addition & 1 deletion templates/data-sources/vault_cluster.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ page_title: "{{.Name}} {{.Type}} - {{.ProviderName}}"
subcategory: "HCP Vault"
description: |-
{{ .Description | plainmarkdown | trimspace | prefixlines " " }}
---

# {{.Name}} ({{.Type}})

Expand All @@ -13,4 +14,3 @@ description: |-
{{ tffile "examples/data-sources/hcp_vault_cluster/data-source.tf" }}

{{ .SchemaMarkdown | trimspace }}

12 changes: 12 additions & 0 deletions templates/data-sources/vault_plugin.md.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
page_title: "{{.Name}} {{.Type}} - {{.ProviderName}}"
subcategory: "HCP Vault"
description: |-
{{ .Description | plainmarkdown | trimspace | prefixlines " " }}
---

# {{.Name}} ({{.Type}})

{{ .Description | trimspace }}

{{ .SchemaMarkdown | trimspace }}
2 changes: 1 addition & 1 deletion templates/guides/vault-admin-token.md.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
subcategory: ""
subcategory: "HCP Vault"
page_title: "Create a Vault cluster and admin token - HCP Provider"
description: |-
An example of creating a Vault cluster and admin token.
Expand Down
2 changes: 1 addition & 1 deletion templates/guides/vault-performance-replication.md.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
subcategory: ""
subcategory: "HCP Vault"
page_title: "Configure Vault performance replication - HCP Provider"
description: |-
Configure performance replication between two Plus tier clusters.
Expand Down
2 changes: 1 addition & 1 deletion templates/guides/vault-scaling.md.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
subcategory: ""
subcategory: "HCP Vault"
page_title: "Resize or scale a Vault cluster - HCP Provider"
description: |-
Change a current HCP Vault cluster in terms of tiers (Dev, Starter, Standard, Plus) or sizes (S, M, L).
Expand Down
12 changes: 12 additions & 0 deletions templates/resources/vault_plugin.md.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
page_title: "{{.Name}} {{.Type}} - {{.ProviderName}}"
subcategory: "HCP Vault"
description: |-
{{ .Description | plainmarkdown | trimspace | prefixlines " " }}
---

# {{.Name}} ({{.Type}})

{{ .Description | trimspace }}

{{ .SchemaMarkdown | trimspace }}

0 comments on commit 7b32fc3

Please sign in to comment.