-
Notifications
You must be signed in to change notification settings - Fork 25
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
Showing
3 changed files
with
130 additions
and
6 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
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,41 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "tsuru_job_deploy Resource - terraform-provider-tsuru" | ||
subcategory: "" | ||
description: |- | ||
Perform an job deploy. Currently, only supporting deploys via prebuilt container images; in order to deploy via tsuru platforms please use tsuru-client | ||
--- | ||
|
||
# tsuru_job_deploy (Resource) | ||
|
||
Perform an job deploy. Currently, only supporting deploys via prebuilt container images; in order to deploy via tsuru platforms please use tsuru-client | ||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `image` (String) Docker Image | ||
- `job` (String) Job name | ||
|
||
### Optional | ||
|
||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) | ||
- `wait` (Boolean) Wait for the rollout of deploy | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
- `output_image` (String) Image generated after success of deploy | ||
- `status` (String) After apply may be three kinds of statuses: running or failed or finished | ||
|
||
<a id="nestedblock--timeouts"></a> | ||
### Nested Schema for `timeouts` | ||
|
||
Optional: | ||
|
||
- `create` (String) | ||
- `delete` (String) | ||
- `update` (String) |
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,76 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "tsuru_token Resource - terraform-provider-tsuru" | ||
subcategory: "" | ||
description: |- | ||
Tsuru Token | ||
--- | ||
|
||
# tsuru_token (Resource) | ||
|
||
Tsuru Token | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "tsuru_token" "simple_token" { | ||
token_id = "my-simple-token" | ||
description = "My description" | ||
team = "team-dev" | ||
expires = "24h" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `team` (String) The team name responsible for this token | ||
|
||
### Optional | ||
|
||
- `description` (String) Token description | ||
- `expires` (String) Token expiration with suffix (s for seconds, m for minutos, h for hours, ...) 0 or unset means it never expires | ||
- `regenerate_on_update` (Boolean) Setting regenerate will change de value of the token, invalidating the previous value | ||
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) | ||
- `token_id` (String) Token name, must be a unique identifier, if empty it will be generated automatically | ||
|
||
### Read-Only | ||
|
||
- `created_at` (String) Token creation date | ||
- `creator_email` (String) Token creator email | ||
- `expires_at` (String) Token expiration date | ||
- `id` (String) The ID of this resource. | ||
- `last_access` (String) Token last access date | ||
- `roles` (List of Object) Tsuru token roles (see [below for nested schema](#nestedatt--roles)) | ||
- `token` (String, Sensitive) Tsuru token | ||
|
||
<a id="nestedblock--timeouts"></a> | ||
### Nested Schema for `timeouts` | ||
|
||
Optional: | ||
|
||
- `create` (String) | ||
- `delete` (String) | ||
- `update` (String) | ||
|
||
|
||
<a id="nestedatt--roles"></a> | ||
### Nested Schema for `roles` | ||
|
||
Read-Only: | ||
|
||
- `context_value` (String) | ||
- `name` (String) | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
terraform import tsuru_token.resource_name "token_id" | ||
|
||
# example | ||
terraform import tsuru_token.simple_token "my-simple-token" | ||
``` |