Skip to content

Commit

Permalink
Cruft Update (force)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybaloney committed May 5, 2024
1 parent 9ad6111 commit d87f658
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 465 deletions.
6 changes: 3 additions & 3 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/Azure-Samples/Azure-Python-Standardization-Template-Generator",
"commit": "c75367846861bc3563aefae0831a06d715b75286",
"commit": "397605f4143cc348247197e9b1c30729a94b828f",
"checkout": null,
"context": {
"cookiecutter": {
Expand All @@ -11,7 +11,7 @@
"project_host": "aca",
"web_port": "8000",
"__repo_name": "Relecloud-django-postgres-flexible-aca",
"__src_folder_name": "relecloud_django_postgres_flexible_aca",
"__src_folder_name": "azure-django-postgres-flexible-aca",
"__project_short_description": "Create a relecloud demo application with django and postgres-flexible",
"_copy_without_render": [
".github/workflows/azure-dev.yml",
Expand All @@ -30,4 +30,4 @@
}
},
"directory": null
}
}
50 changes: 0 additions & 50 deletions .github/workflows/test.yml

This file was deleted.

1 change: 1 addition & 0 deletions infra/core/database/cosmos/cosmos-account.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ param name string
param location string = resourceGroup().location
param tags object = {}

@secure()
param connectionStringKey string = 'AZURE-COSMOS-CONNECTION-STRING'
param keyVaultName string

Expand Down
22 changes: 12 additions & 10 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ module web 'web.bicep' = {
name: 'web'
scope: resourceGroup
params: {
name: replace('${take(prefix, 19)}-ca', '--', '-')
name: replace('${take(prefix,19)}-ca', '--', '-')
location: location
tags: tags
applicationInsightsName: monitoring.outputs.applicationInsightsName
Expand Down Expand Up @@ -116,15 +116,17 @@ var secrets = [
]

@batchSize(1)
module keyVaultSecrets './core/security/keyvault-secret.bicep' = [for secret in secrets: {
name: 'keyvault-secret-${secret.name}'
scope: resourceGroup
params: {
keyVaultName: keyVault.outputs.name
name: secret.name
secretValue: secret.value
module keyVaultSecrets './core/security/keyvault-secret.bicep' = [
for secret in secrets: {
name: 'keyvault-secret-${secret.name}'
scope: resourceGroup
params: {
keyVaultName: keyVault.outputs.name
name: secret.name
secretValue: secret.value
}
}
}]
]

output AZURE_LOCATION string = location
output AZURE_CONTAINER_ENVIRONMENT_NAME string = containerApps.outputs.environmentName
Expand All @@ -138,4 +140,4 @@ output AZURE_KEY_VAULT_ENDPOINT string = keyVault.outputs.endpoint
output AZURE_KEY_VAULT_NAME string = keyVault.outputs.name
output APPLICATIONINSIGHTS_NAME string = monitoring.outputs.applicationInsightsName

output BACKEND_URI string = web.outputs.uri
output BACKEND_URI string = web.outputs.uri
42 changes: 0 additions & 42 deletions lab/02-examining-project.md

This file was deleted.

79 changes: 0 additions & 79 deletions lab/03-testing.md

This file was deleted.

28 changes: 0 additions & 28 deletions lab/04-deploying-locally.md

This file was deleted.

82 changes: 0 additions & 82 deletions lab/05-deploying-to-azure.md

This file was deleted.

17 changes: 0 additions & 17 deletions lab/06-teardown.md

This file was deleted.

Loading

0 comments on commit d87f658

Please sign in to comment.