Skip to content

Commit

Permalink
files
Browse files Browse the repository at this point in the history
  • Loading branch information
jackivanov committed Dec 10, 2023
1 parent 09bc464 commit 830a2b1
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/lint.yml

This file was deleted.

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

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

{{ .Description | trimspace }}

~> **Security Notice** The private key generated by this resource will
be stored *unencrypted* in your Terraform state file.

This is a *logical resource*, contributing only to the current Terraform
state without creating any external managed resources.


## Example Usage

{{ tffile "examples/resources/x25519_private_key/resource.tf" }}

{{ .SchemaMarkdown | trimspace }}

## Generating a New Key

Since a private key is a logical resource that resides solely in the Terraform state,
it persists until explicitly destroyed by the user.

To force the generation of a new key within an existing state, taint the
private key instance:

```bash
terraform taint x25519_private_key.example
```

0 comments on commit 830a2b1

Please sign in to comment.