Update docs for Cloudstack with SSH keypair and timeout
This commit is contained in:
parent
0b2b9e844f
commit
e0b9961d93
|
@ -43,3 +43,8 @@ The following arguments are supported:
|
||||||
|
|
||||||
* `secret_key` - (Required) This is the CloudStack secret key. It must be provided,
|
* `secret_key` - (Required) This is the CloudStack secret key. It must be provided,
|
||||||
but it can also be sourced from the `CLOUDSTACK_SECRET_KEY` environment variable.
|
but it can also be sourced from the `CLOUDSTACK_SECRET_KEY` environment variable.
|
||||||
|
|
||||||
|
* `timeout` - (Optional) A value in seconds. This is the time allowed for Cloudstack
|
||||||
|
to complete each asynchronous job triggered. If unset, this can be sourced from the
|
||||||
|
`CLOUDSTACK_TIMEOUT` environment variable. Otherwise, this will default to 300
|
||||||
|
seconds.
|
||||||
|
|
|
@ -48,6 +48,8 @@ The following arguments are supported:
|
||||||
|
|
||||||
* `user_data` - (Optional) The user data to provide when launching the instance.
|
* `user_data` - (Optional) The user data to provide when launching the instance.
|
||||||
|
|
||||||
|
* `keypair` - (Optional) The name of the SSH keypair that will be used to access this instance.
|
||||||
|
|
||||||
* `expunge` - (Optional) This determines if the instance is expunged when it is
|
* `expunge` - (Optional) This determines if the instance is expunged when it is
|
||||||
destroyed (defaults false)
|
destroyed (defaults false)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,36 @@
|
||||||
|
---
|
||||||
|
layout: "cloudstack"
|
||||||
|
page_title: "CloudStack: cloudstack_ssh_keypair"
|
||||||
|
sidebar_current: "docs-cloudstack-resource-ssh-keypair"
|
||||||
|
description: |-
|
||||||
|
Creates or registers an SSH keypair.
|
||||||
|
---
|
||||||
|
|
||||||
|
# cloudstack\_ssh\_keypair
|
||||||
|
|
||||||
|
Creates or registers an SSH keypair.
|
||||||
|
|
||||||
|
## Example Usage
|
||||||
|
|
||||||
|
```
|
||||||
|
resource "cloudstack_ssh_keypair" "myKey" {
|
||||||
|
name = "myKey"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Argument Reference
|
||||||
|
|
||||||
|
The following arguments are supported:
|
||||||
|
|
||||||
|
* `name` - (Required) The name to give the SSH keypair. This is a unique value within a Cloudstack account.
|
||||||
|
|
||||||
|
* `public_key` - (Optional) The full public key text of this keypair. If this is omitted, Cloudstack
|
||||||
|
will generate a new keypair.
|
||||||
|
|
||||||
|
## Attributes Reference
|
||||||
|
|
||||||
|
The following attributes are exported:
|
||||||
|
|
||||||
|
* `id` - The keypair ID. This is set to the keypair `name` argument.
|
||||||
|
* `fingerprint` - The fingerprint of the public key specified or calculated.
|
||||||
|
* `private_key` - This is returned only if Cloudstack generated the keypair.
|
|
@ -53,6 +53,10 @@
|
||||||
<a href="/docs/providers/cloudstack/r/port_forward.html">cloudstack_port_forward</a>
|
<a href="/docs/providers/cloudstack/r/port_forward.html">cloudstack_port_forward</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li<%= sidebar_current("docs-cloudstack-resource-ssh-keypair") %>>
|
||||||
|
<a href="/docs/providers/cloudstack/r/ssh_keypair.html">cloudstack_ssh_keypair</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li<%= sidebar_current("docs-cloudstack-resource-template") %>>
|
<li<%= sidebar_current("docs-cloudstack-resource-template") %>>
|
||||||
<a href="/docs/providers/cloudstack/r/template.html">cloudstack_template</a>
|
<a href="/docs/providers/cloudstack/r/template.html">cloudstack_template</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue