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

feat: added mysql resource #17

Merged
merged 3 commits into from
May 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions deploy/europe.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -415,3 +415,25 @@ resource cosmosDbDatabaseThroughput 'Microsoft.DocumentDB/databaseAccounts/sqlDa
cosmosDbAccount
]
}

resource mySQLServer 'Microsoft.DBforMySQL/servers@2017-12-01' = {
name: '${resourceNamePrefix}-mysql-srv'
location: location
sku: {
name: 'B_Gen5_1'
tier: 'Basic'
capacity: 1
family: 'Gen5'
}
properties: {
createMode: 'Default'
version: '5.7'
administratorLogin: 'testadmin'
administratorLoginPassword: sqlServerPassword
sslEnforcement: 'Enabled'
minimalTlsVersion: 'TLS1_2'
storageProfile: {
storageMB: 5000
}
}
}