-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
09bc464
commit 830a2b1
Showing
2 changed files
with
35 additions
and
28 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |