# Resource nubes_postgres_database — Example Service: `nubes_postgres` (ID: 90) [PostgreSQL (основной)](postgres.md) | [Operations](postgres_ops.md) | [Database](postgres_database.md) | [Example](postgres_database_example.md) ## Copy-ready manifest (`postgres_database_main.tf`) ```hcl terraform { required_providers { nubes = { source = "terra.k8c.ru/nubes/nubes" version = "5.0.75" } } } provider "nubes" { api_token = "token_***" api_endpoint = "https://lk-api-gateway-test.ngcloud.ru/api/v1/svc" } # Родительский ресурс — nubes_postgres должен быть создан заранее # resource "nubes_postgres" "baza" { ... } resource "nubes_postgres_database" "example" { postgres_id = nubes_postgres.baza.id db_name = "TODO" db_owner = "TODO" } ```