Skip to content

Commit be4795e

Browse files
authored
Minor updates (#25)
1 parent c78a28a commit be4795e

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
set -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
34
az extension add --name serviceconnector-passwordless --upgrade

apps/contoso-fiber/src/main/resources/application.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ contoso.retry.demo=0
55
contoso.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}
118
spring.jpa.hibernate.ddl-auto=validate
129

1310
# Azure AD

infra/scripts/setup-service-connector.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ target_id=$2
66
random_string=$RANDOM
77
connection_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
910
az webapp connection create postgres-flexible --connection ${connection_name} --source-id ${source_id} --target-id ${target_id} --client-type springBoot --system-identity

infra/shared/terraform/modules/vms/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)