-
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 redis recipe content to quickstart
- Loading branch information
Showing
2 changed files
with
88 additions
and
5 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
27 changes: 27 additions & 0 deletions
27
docs/content/getting-started/quickstarts/quickstart-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,27 @@ | ||
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.Link/redisCaches@2022-03-15-privatepreview' = { | ||
name: 'db' | ||
properties: { | ||
environment: environment | ||
application: application | ||
recipe: { | ||
// Name a specific recipe to use | ||
name: 'aws' | ||
parameters: { | ||
eksClusterName: eksClusterName | ||
} | ||
} | ||
} | ||
} | ||
//DB |