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 11set -x
22
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
34az extension add --name serviceconnector-passwordless --upgrade
Original file line number Diff line number Diff line change @@ -5,9 +5,6 @@ contoso.retry.demo=0
55contoso.suport-guide.request.service =${CONTOSO_SUPPORT_GUIDE_REQUEST_SERVICE}
66
77# Spring Data JPA
8- spring.datasource.url =${DATABASE_URL}
9- spring.datasource.username =${DATABASE_USERNAME}
10- spring.datasource.password =${DATABASE_PASSWORD}
118spring.jpa.hibernate.ddl-auto =validate
129
1310# Azure AD
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ target_id=$2
66random_string=$RANDOM
77connection_name=postgresql_${RANDOM}
88
9+ # https://learn.microsoft.com/azure/service-connector/tutorial-passwordless?tabs=user%2Cdotnet%2Csql-me-id-dotnet%2Cappservice&pivots=postgresql#create-a-passwordless-connection
910az 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" {
3636 source_image_reference {
3737 publisher = " Canonical"
3838 offer = " 0001-com-ubuntu-server-focal"
39- sku = " 20_04 -lts-gen2"
39+ sku = " 24_04 -lts-gen2"
4040 version = " latest"
4141 }
4242}
You can’t perform that action at this time.
0 commit comments