File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed
apps/contoso-fiber/src/main/resources
shared/terraform/modules/vms Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
set -x
2
2
3
+ # https://learn.microsoft.com/azure/service-connector/tutorial-passwordless?tabs=user%2Cdotnet%2Csql-me-id-dotnet%2Cappservice&pivots=postgresql#install-the-service-connector-passwordless-extension
3
4
az extension add --name serviceconnector-passwordless --upgrade
Original file line number Diff line number Diff line change @@ -5,9 +5,6 @@ contoso.retry.demo=0
5
5
contoso.suport-guide.request.service =${CONTOSO_SUPPORT_GUIDE_REQUEST_SERVICE}
6
6
7
7
# Spring Data JPA
8
- spring.datasource.url =${DATABASE_URL}
9
- spring.datasource.username =${DATABASE_USERNAME}
10
- spring.datasource.password =${DATABASE_PASSWORD}
11
8
spring.jpa.hibernate.ddl-auto =validate
12
9
13
10
# Azure AD
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ target_id=$2
6
6
random_string=$RANDOM
7
7
connection_name=postgresql_${RANDOM}
8
8
9
+ # https://learn.microsoft.com/azure/service-connector/tutorial-passwordless?tabs=user%2Cdotnet%2Csql-me-id-dotnet%2Cappservice&pivots=postgresql#create-a-passwordless-connection
9
10
az webapp connection create postgres-flexible --connection ${connection_name} --source-id ${source_id} --target-id ${target_id} --client-type springBoot --system-identity
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ resource "azurerm_linux_virtual_machine" "linux_vm" {
36
36
source_image_reference {
37
37
publisher = " Canonical"
38
38
offer = " 0001-com-ubuntu-server-focal"
39
- sku = " 20_04 -lts-gen2"
39
+ sku = " 24_04 -lts-gen2"
40
40
version = " latest"
41
41
}
42
42
}
You can’t perform that action at this time.
0 commit comments