forked from kubermatic/terraform-provider-kubermatic
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cofigure custom server_group_id for cluster
- Loading branch information
Showing
9 changed files
with
112 additions
and
5 deletions.
There are no files selected for viewing
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: "MetaKube: metakube_sshkey" | ||
--- | ||
|
||
# metakube_sshkey | ||
|
||
Get sshkey record's public key and fingerprint data. Useful if you want to reference existing key. | ||
|
||
## Example Usage | ||
|
||
Dump public key into a file `keydata`. | ||
|
||
```hcl | ||
data "metakube_sshkey" "example" { | ||
project_id = "foo" | ||
name = "work-laptop" | ||
} | ||
resource "local_file" "key_data" { | ||
content = "data.metakube_sshkey.example.public_key" | ||
filename = "${path.module}/keydata" | ||
} | ||
``` | ||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `project_id` - (Optional) MetaKube Project ID. | ||
* `name` - (Optional) Name of the sshkey record. | ||
|
||
## Attributes Reference | ||
|
||
The only attribute exported is: | ||
* `public_key`: The ssh key public key. | ||
* `fingerprint`: The ssh key fingerprint. |
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
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
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
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
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
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
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
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