v5.0.57: regenerate all from TEST API (NOT PROD)
- 43 YAML, 94 Go, 332 docs from deck-api-test.ngcloud.ru - STANDS.md, TESTING.md, API_TOKENS.md added - Never mix PROD/TEST again
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# Resource nubes_postgres
|
||||
|
||||
Service ID: `90`
|
||||
|
||||
Service Name: PostgreSQL
|
||||
|
||||
[Manual](postgres.md) | [Create params](postgres_params_create.md) | [Modify params](postgres_params_modify.md) | [Output params](postgres_outputs.md) | [Operations](postgres_ops.md) | [Example](postgres_example.md)
|
||||
|
||||
## Create params
|
||||
|
||||
**Обязательные параметры (вводимые пользователем)**
|
||||
|
||||
<table class="resource-table resource-table-compact resource-table-required">
|
||||
<thead><tr><th>ID</th><th>Code</th><th>Type</th><th>Description</th><th>Constraints</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>788</td><td><strong><code class="code-no-wrap">cluster_configuration</code></strong></td><td><code>map-fixed</code></td><td></td><td></td></tr>
|
||||
<tr><td>789</td><td><strong><code class="code-no-wrap">startup_configuration</code></strong></td><td><code>map-fixed</code></td><td></td><td></td></tr>
|
||||
<tr><td>790</td><td><strong><code class="code-no-wrap">access_configuration</code></strong></td><td><code>map-fixed</code></td><td></td><td></td></tr>
|
||||
<tr><td>791</td><td><strong><code class="code-no-wrap">postgres_configuration</code></strong></td><td><code>map-fixed</code></td><td></td><td></td></tr>
|
||||
<tr><td>792</td><td><strong><code class="code-no-wrap">postgres_conf</code></strong></td><td><code>array-map-fixed</code></td><td></td><td></td></tr>
|
||||
<tr><td>793</td><td><strong><code class="code-no-wrap">backup_configuration</code></strong></td><td><code>map-fixed</code></td><td></td><td></td></tr>
|
||||
<tr><td>794</td><td><strong><code class="code-no-wrap">autoscale_configuration</code></strong></td><td><code>map-fixed</code></td><td></td><td></td></tr>
|
||||
</tbody></table>
|
||||
|
||||
**Параметры, имеющие значение по умолчанию, если не меняете - эти параметры не обязательно прописывать в манифесте**
|
||||
None.
|
||||
|
||||
<div class="lifecycle-note">
|
||||
<strong>Параметры поведения (кратко)</strong><br/>
|
||||
По умолчанию: `suspend_on_destroy = True`, `adopt_existing_on_create = False`.<br/>
|
||||
При `terraform destroy` или удалении ресурса из манифеста:<br/>
|
||||
- `suspend_on_destroy=true` — инстанс переводится в `Suspend` (не удаляется).<br/>
|
||||
- `suspend_on_destroy=false` — Terraform удаляет ресурс только из state.<br/>
|
||||
При `apply` флаг `adopt_existing_on_create` работает как авто-`import`:<br/>
|
||||
- `false` — если ресурс уже есть, будет ошибка.<br/>
|
||||
- `true` — Terraform может взять существующий инстанс под управление (`running` → adopt, `suspended` → resume+adopt при совпадении параметров).<br/>
|
||||
Важно: один инстанс должен быть только в одном state. Иначе получите конфликт управления.
|
||||
</div>
|
||||
Reference in New Issue
Block a user