Skip to content

Commit

Permalink
Merge branch 'main' into deploy-uat
Browse files Browse the repository at this point in the history
  • Loading branch information
alguadam committed Nov 1, 2024
2 parents 6a2f6d0 + b8c6205 commit 14bb1c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ie-bank-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ jobs:
resourceGroupName: ${{ env.RESOURCE_GROUP_DEV }}
template: ./main.bicep
parameters: ./parameters/uat.parameters.json appServiceAPIEnvVarENV=${{ vars.ENV }} appServiceAPIEnvVarDBHOST=${{ vars.DBHOST }} appServiceAPIEnvVarDBNAME=${{ vars.DBNAME }} appServiceAPIEnvVarDBPASS=${{ secrets.DBPASS }} appServiceAPIDBHostDBUSER=${{ secrets.DBUSER }} appServiceAPIDBHostFLASK_APP=${{ vars.FLASK_APP }} appServiceAPIDBHostFLASK_DEBUG=${{ vars.FLASK_DEBUG }}
deploymentName: ${{ env.USER_ALIAS }}-uat
deploymentName: ${{ env.USER_ALIAS }}-uat
4 changes: 3 additions & 1 deletion main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
'prod'
])
param environmentType string = 'nonprod'
@sys.description('The user alias to add to the deployment name')
param userAlias string = 'aguadamillas'
@sys.description('The PostgreSQL Server name')
@minLength(3)
@maxLength(24)
Expand Down Expand Up @@ -86,7 +88,7 @@ resource postgresSQLDatabase 'Microsoft.DBforPostgreSQL/flexibleServers/database
}

module appService 'modules/app-service.bicep' = {
name: 'appService-${appServicePlanName}'
name: 'appService-${userAlias}'
params: {
location: location
environmentType: environmentType
Expand Down

0 comments on commit 14bb1c9

Please sign in to comment.