-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace eShop with eShop on recipes * PR * Fix * Test * PR * oops * Updates * PR * PR * PR * PR comments * PR comments * fixing * again * fix * rewind * PR * PR * Simplify env registration Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com> * Make registry a parameter Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com> * Update test Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com> * Update namespaces Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com> * Fix tag Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com> * Update env names Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com> * Fix namespaces Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com> * Fix recipe Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com> --------- Signed-off-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com> Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
- Loading branch information
1 parent
278983e
commit 46421a0
Showing
27 changed files
with
618 additions
and
1,742 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
File renamed without changes.
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
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,54 @@ | ||
import radius as rad | ||
|
||
@description('Account ID of the AWS account resources should be deployed in') | ||
param awsAccountId string | ||
|
||
@description('AWS region that resources should be deployed in') | ||
param awsRegion string | ||
|
||
@description('Name of your EKS cluster') | ||
param eksClusterName string | ||
|
||
resource environment 'Applications.Core/environments@2023-10-01-preview' = { | ||
name: 'aws' | ||
properties: { | ||
compute: { | ||
kind: 'kubernetes' | ||
resourceId: 'self' | ||
namespace: 'aws' | ||
} | ||
providers: { | ||
aws: { | ||
scope: '/planes/aws/aws/accounts/${awsAccountId}/regions/${awsRegion}' | ||
} | ||
} | ||
recipes: { | ||
'Applications.Datastores/sqlDatabases': { | ||
default: { | ||
templateKind: 'bicep' | ||
templatePath: 'ghcr.io/radius-project/recipes/aws/sqldatabases:latest' | ||
parameters: { | ||
eksClusterName: eksClusterName | ||
} | ||
} | ||
} | ||
'Applications.Datastores/redisCaches': { | ||
default: { | ||
templateKind: 'bicep' | ||
templatePath: 'ghcr.io/radius-project/recipes/aws/rediscaches:latest' | ||
parameters: { | ||
eksClusterName: eksClusterName | ||
} | ||
} | ||
} | ||
// Use containerized RabbitMQ instead of Amazon SQS | ||
// https://github.com/radius-project/bicep-types-aws/blob/main/docs/reference/limitations.md | ||
'Applications.Messaging/rabbitMQQueues': { | ||
default: { | ||
templateKind: 'bicep' | ||
templatePath: 'ghcr.io/radius-project/recipes/local-dev/rabbitmqqueues:latest' | ||
} | ||
} | ||
} | ||
} | ||
} |
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,43 @@ | ||
import radius as rad | ||
|
||
@description('The name of the Azure resource group where Azure resources will be deployed.') | ||
param azureResourceGroup string | ||
|
||
@description('The Azure subscription ID where Azure resources will be deployed.') | ||
param azureSubscriptionId string | ||
|
||
resource environment 'Applications.Core/environments@2023-10-01-preview' = { | ||
name: 'azure' | ||
properties: { | ||
compute: { | ||
kind: 'kubernetes' | ||
resourceId: 'self' | ||
namespace: 'azure' | ||
} | ||
providers: { | ||
azure: { | ||
scope: '/subscriptions/${azureSubscriptionId}/resourceGroups/${azureResourceGroup}' | ||
} | ||
} | ||
recipes: { | ||
'Applications.Datastores/sqlDatabases': { | ||
default: { | ||
templateKind: 'bicep' | ||
templatePath: 'ghcr.io/radius-project/recipes/azure/sqldatabases:latest' | ||
} | ||
} | ||
'Applications.Datastores/redisCaches': { | ||
default: { | ||
templateKind: 'bicep' | ||
templatePath: 'ghcr.io/radius-project/recipes/azure/rediscaches:latest' | ||
} | ||
} | ||
'Applications.Core/extenders': { | ||
servicebus: { | ||
templateKind: 'bicep' | ||
templatePath: 'ghcr.io/radius-project/recipes/azure/extender-servicebus:latest' | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.