From ef098eb9b89a2681b4e15635f768fb60bde25adc Mon Sep 17 00:00:00 2001 From: jasonviviano <83607984+jasonviviano@users.noreply.github.com> Date: Fri, 15 Sep 2023 17:42:34 +0000 Subject: [PATCH] Removed outdated parameter name --- docs/content/guides/recipes/howto-author-recipes/index.md | 4 ++-- docs/content/tutorials/tutorial-recipe/index.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/guides/recipes/howto-author-recipes/index.md b/docs/content/guides/recipes/howto-author-recipes/index.md index 7e60c45b1..5599d81a6 100644 --- a/docs/content/guides/recipes/howto-author-recipes/index.md +++ b/docs/content/guides/recipes/howto-author-recipes/index.md @@ -127,7 +127,7 @@ Now that your Recipe template has been stored, you can add it your Radius enviro {{% codetab %}} ```bash -rad recipe register myrecipe --environment myenv --link-type Applications.Datastores/redisCaches --template-kind bicep --template-path myregistry.azurecr.io/recipes/myrecipe:1.1.0 +rad recipe register myrecipe --environment myenv --resource-type Applications.Datastores/redisCaches --template-kind bicep --template-path myregistry.azurecr.io/recipes/myrecipe:1.1.0 ``` {{% /codetab %}} @@ -137,7 +137,7 @@ rad recipe register myrecipe --environment myenv --link-type Applications.Datast The template path value should represent the source path found in your Terraform module registry. ```bash -rad recipe register myrecipe --environment myenv --link-type Applications.Datastores/redisCaches --template-kind terraform --template-path user/recipes/myrecipe --template-version "1.1.0" +rad recipe register myrecipe --environment myenv --resource-type Applications.Datastores/redisCaches --template-kind terraform --template-path user/recipes/myrecipe --template-version "1.1.0" ``` {{% /codetab %}} diff --git a/docs/content/tutorials/tutorial-recipe/index.md b/docs/content/tutorials/tutorial-recipe/index.md index fd3896976..c4286c64c 100644 --- a/docs/content/tutorials/tutorial-recipe/index.md +++ b/docs/content/tutorials/tutorial-recipe/index.md @@ -153,7 +153,7 @@ This step requires an Azure subscription to deploy cloud resources, which will i 2. Register the Recipe to your Radius Environment: ```bash - rad recipe register azure --environment default --template-kind bicep --template-path radius.azurecr.io/recipes/azure/rediscaches:{{< param tag_version >}} --link-type Applications.Datastores/redisCaches + rad recipe register azure --environment default --template-kind bicep --template-path radius.azurecr.io/recipes/azure/rediscaches:{{< param tag_version >}} --resource-type Applications.Datastores/redisCaches ``` 3. Update your db resource to use the `azure` Recipe, instead of the default Recipe: