Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
using the correct sql root user
Browse files Browse the repository at this point in the history
  • Loading branch information
Physer committed Dec 17, 2024
1 parent 37bbd3d commit 17fcd54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/cms/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module cmsContainerApp '../modules/containerApp.bicep' = {
}
{
name: 'SQL_ROOT_USER'
value: 'root'
value: mySql.outputs.sqlAdminUser
}
{
name: 'SQL_HOST'
Expand Down
1 change: 1 addition & 0 deletions infrastructure/modules/sql.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ resource allowAzureServicesToMySql 'Microsoft.DBforMySQL/flexibleServers/firewal
}
}

output sqlAdminUser string = mySql.properties.administratorLogin
output databaseName string = mySql.name
output hostName string = mySql.properties.fullyQualifiedDomainName

0 comments on commit 17fcd54

Please sign in to comment.