diff --git a/docs/data-sources/app.md b/docs/data-sources/app.md index 87f3129..fda631b 100644 --- a/docs/data-sources/app.md +++ b/docs/data-sources/app.md @@ -25,6 +25,10 @@ data "tsuru_app" "my-app" { - `name` (String) Unique name of app +### Optional + +- `metadata` (Block List, Max: 1) (see [below for nested schema](#nestedblock--metadata)) + ### Read-Only - `cluster` (String) @@ -33,12 +37,22 @@ data "tsuru_app" "my-app" { - `internal_address` (Block List) (see [below for nested schema](#nestedblock--internal_address)) - `platform` (String) - `pool` (String) +- `process` (List of Object) (see [below for nested schema](#nestedatt--process)) - `router` (Block List) (see [below for nested schema](#nestedblock--router)) - `tags` (List of String) - `team_owner` (String) - `teams` (List of String) - `tsuru_provisioner` (String) + +### Nested Schema for `metadata` + +Optional: + +- `annotations` (Map of String) +- `labels` (Map of String) + + ### Nested Schema for `internal_address` @@ -51,6 +65,25 @@ Read-Only: - `version` (String) + +### Nested Schema for `process` + +Read-Only: + +- `metadata` (List of Object) (see [below for nested schema](#nestedobjatt--process--metadata)) +- `name` (String) +- `plan` (String) + + +### Nested Schema for `process.metadata` + +Read-Only: + +- `annotations` (Map of String) +- `labels` (Map of String) + + + ### Nested Schema for `router` diff --git a/docs/resources/app.md b/docs/resources/app.md index 240d171..5135575 100644 --- a/docs/resources/app.md +++ b/docs/resources/app.md @@ -53,6 +53,7 @@ resource "tsuru_app" "my-app" { - `default_router` (String) Default router at creation of app - `description` (String) Application description - `metadata` (Block List, Max: 1) (see [below for nested schema](#nestedblock--metadata)) +- `process` (Block List) (see [below for nested schema](#nestedblock--process)) - `restart_on_update` (Boolean) Restart app after applying changes - `tags` (List of String) Tags - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) @@ -73,6 +74,28 @@ Optional: - `labels` (Map of String) + +### Nested Schema for `process` + +Required: + +- `name` (String) + +Optional: + +- `metadata` (Block List, Max: 1) (see [below for nested schema](#nestedblock--process--metadata)) +- `plan` (String) + + +### Nested Schema for `process.metadata` + +Optional: + +- `annotations` (Map of String) +- `labels` (Map of String) + + + ### Nested Schema for `timeouts`