Files
tf_provider/generated/test/docs/postgres_user.md
T
“Naeel” dd56bcda83 refactor: restructure project — separate tools, config, generated, provider
TOOLS/        — generators + scripts + config + ARCHITECTURE.md
  ├── yaml-generator/    (code)
  ├── resource-generator/ (code)
  ├── docs-generator/    (code)
  ├── scripts/           (← devops/*.sh)
  ├── config/            (← devops/profiles/ + devops/config/)
  │   ├── test/          profile.env, services_list.txt, operation_timeouts.json
  │   ├── prod/
  │   └── dev/
  └── ARCHITECTURE.md    (← devops/ARCHITECTURE.md)

generated/    — pipeline output only (gitignored)
  ├── test/resources_yaml/, go/, docs/, provider_build/
  ├── prod/
  └── dev/

provider/     — code only, no generated files
  resources_yaml/        — DELETED (generated)
  internal/resources_gen/ — DELETED (generated)

devops/       — removed (replaced by TOOLS/scripts + TOOLS/config + generated/)

Generators now fail if NUBES_*_DIR not set (no defaults to provider/).
Provider requires pipeline to populate resources_gen/ before build.
2026-07-06 09:06:09 +04:00

25 lines
1.5 KiB
Markdown

# Resource nubes_postgres_user
Service: `nubes_postgres` (ID: 90)
[PostgreSQL (основной)](postgres.md) | [Operations](postgres_ops.md) | [User](postgres_user.md) | [Example](postgres_user_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>733</td><td><strong><code class="code-no-wrap">username</code></strong></td><td><code>string</code></td><td></td><td>regex=^[A-Za-z0-9]+$; maxlength=62; minlength=2</td></tr>
<tr><td>740</td><td><strong><code class="code-no-wrap">role</code></strong></td><td><code>string</code></td><td>`app_user` — стандартный пользователь с базовым набором прав<br/>`ddl_user` — пользователь с расширенными правами, включая управление ролями и базами данных</td><td>value_list=app_user, ddl_user</td></tr>
</tbody></table>
## Delete 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>739</td><td><strong><code class="code-no-wrap">username</code></strong></td><td><code>string</code></td><td>Пример: `username-admin`</td><td></td></tr>
</tbody></table>