From 874ec4d96bbaf54840eea665be686617e5e5e0a0 Mon Sep 17 00:00:00 2001 From: Dorota Wojcik Date: Thu, 25 Jan 2024 17:02:12 +0100 Subject: [PATCH] added parameters for fork service cli --- docs/platform/howto/console-fork-service.rst | 24 ++++++++------------ 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/docs/platform/howto/console-fork-service.rst b/docs/platform/howto/console-fork-service.rst index 2e03da4976..0ec2c16eea 100644 --- a/docs/platform/howto/console-fork-service.rst +++ b/docs/platform/howto/console-fork-service.rst @@ -14,13 +14,11 @@ Fork a service using the console 4. In the **New Database Fork** window, select the new service region and plan. 5. Select **Create fork**. -.. topic:: Result - - You have now copied your Aiven service. +You have now copied your Aiven service. .. tip:: - - You can now apply any integrations you may need for the copy. + + You can now apply any integrations you may need for the copy. Fork a service using the Aiven client (CLI) ------------------------------------------- @@ -30,19 +28,17 @@ Fork a service using the Aiven client (CLI) 2. Add the ``service_to_fork_from`` parameter to specify the service to use as the source. Change service type accordingly with ``-t``, run the following command to see available options: - .. code:: - + .. code:: bash + avn service types For example, if you want to create a fork of your ``forker`` PostgreSQLĀ® service, and name it ``forked``, the command would be something like: -.. code:: - - avn service create forked -t pg --plan business-4 -c service_to_fork_from=forker - -.. topic:: Result - - You have now copied your Aiven service. +.. code:: bash + + avn service create forked --project PROJECT_NAME --cloud CLOUD_NAME -t pg --plan business-4 -c service_to_fork_from=forker + +You have now copied your Aiven service. .. tip::