From 4c9a62eff06c0af2241696489b8acf619c9d4a33 Mon Sep 17 00:00:00 2001 From: Simon Notley <43099400+sonotley@users.noreply.github.com> Date: Thu, 26 Sep 2024 15:38:52 +0100 Subject: [PATCH] Change YAML format to match upcoming agent release --- .../console/estate/agent/install-agent.mdx | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/advocacy_docs/edb-postgres-ai/console/estate/agent/install-agent.mdx b/advocacy_docs/edb-postgres-ai/console/estate/agent/install-agent.mdx index fa6d7c26ca0..526ac7d0fd1 100644 --- a/advocacy_docs/edb-postgres-ai/console/estate/agent/install-agent.mdx +++ b/advocacy_docs/edb-postgres-ai/console/estate/agent/install-agent.mdx @@ -114,16 +114,16 @@ Entries under `databases` utilize the following format: ```yaml databases: - : - dsn: "$DSN1" - tags: - - "" - - "" - : - dsn: "$DSN2" - tags: - - "" - - "" + - resource_id: "database_name_1" + dsn: "$DSN1" + tags: + - "" + - "" + - resource_id: "database_name_2" + dsn: "$DSN2" + tags: + - "" + - "" ``` Here is an example `beacon_agent.yaml` file configured for a database named `sales_reporting`: @@ -142,11 +142,11 @@ agent: provider: onprem: databases: - sales_reporting: + - resource_id: "sales_reporting" dsn: "$DSN" tags: - - "sales" - - "reports" + - "sales" + - "reports" host: resource_id: "postgresql.lan" tags: []