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,32 @@
|
||||
# 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.57"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "nubes" {
|
||||
api_token = "token_***"
|
||||
api_endpoint = "https://deck-api.ngcloud.ru/api/v1/index.cfm"
|
||||
}
|
||||
|
||||
# Родительский ресурс — nubes_postgres должен быть создан заранее
|
||||
# resource "nubes_postgres" "baza" { ... }
|
||||
|
||||
resource "nubes_postgres_database" "example" {
|
||||
postgres_id = nubes_postgres.baza.id
|
||||
db_name = "TODO"
|
||||
db_owner = "TODO"
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user