-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AWS recipes to recipes tutorial (#656)
* Add aws redis recipe content to quickstart * Address feedback * Update docs/content/getting-started/quickstarts/quickstart-recipe/index.md Co-authored-by: Aaron Crawfis <[email protected]> * Merge edge * Fix codetab issue * Delete package-lock.json * Update content * Spcing * Fix command * Spcing * Delete recipes/.rad/rad.yaml * Delete recipes/app.bicep * Fix api version and resourcetype --------- Co-authored-by: Aaron Crawfis <[email protected]>
- Loading branch information
1 parent
240905d
commit cccd783
Showing
2 changed files
with
139 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
docs/content/tutorials/tutorial-recipe/snippets/app-aws.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import radius as radius | ||
|
||
@description('The ID of your Radius environment. Automatically injected by the rad CLI.') | ||
param environment string | ||
|
||
@description('The ID of your Radius application. Automatically injected by the rad CLI.') | ||
param application string | ||
|
||
@description('Name of the EKS cluster used for app deployment') | ||
param eksClusterName string | ||
|
||
//DB | ||
resource db 'Applications.Datastores/redisCaches@2023-10-01-preview' = { | ||
name: 'db' | ||
properties: { | ||
environment: environment | ||
application: application | ||
recipe: { | ||
// Name a specific recipe to use | ||
name: 'aws' | ||
} | ||
} | ||
} | ||
//DB |