Skip to content

Commit

Permalink
Hubs: Add support for focuscost 1.0r2 (microsoft#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
flanakin authored Nov 7, 2024
1 parent 38206be commit 3e9dc02
Show file tree
Hide file tree
Showing 3 changed files with 398 additions and 2 deletions.
3 changes: 3 additions & 0 deletions docs/_resources/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ Legend:
> ➕ Added:
>
> 1. Option to ingest data into an Azure Data Explorer cluster.
> 2. Support for FOCUS 1.0r2 exports.
> - The 1.0r2 dataset only differs in date formatting. There are no functional differences compared to 1.0.
> - The 1.0r2 dataset is only needed when ingesting data into a system that requires date/time values to include seconds (for example, "2024-01-01T00:00:00Z" where the last "00" is seconds).
>
> ✏️ Changed:
>
Expand Down
5 changes: 3 additions & 2 deletions src/templates/finops-hub/modules/storage.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ var storageAccountSuffix = uniqueSuffix
var storageAccountName = '${take(safeHubName, 24 - length(storageAccountSuffix))}${storageAccountSuffix}'
var scriptStorageAccountName = '${take(safeHubName, 16 - length(storageAccountSuffix))}script${storageAccountSuffix}'
var schemaFiles = {
'focuscost_1.0r2': loadTextContent('../schemas/focuscost_1.0r2.json')
'focuscost_1.0': loadTextContent('../schemas/focuscost_1.0.json')
'focuscost_1.0-preview(v1)': loadTextContent('../schemas/focuscost_1.0-preview(v1).json')
'pricesheet_2023-05-01_ea': loadTextContent('../schemas/pricesheet_2023-05-01_ea.json')
Expand Down Expand Up @@ -408,13 +409,13 @@ resource uploadSettings 'Microsoft.Resources/deploymentScripts@2023-08-01' = {
storageAccountSettings: {
storageAccountName: scriptStorageAccount.name
//storageAccountKey: storageAccount.listKeys().keys[0].value
}
}
containerSettings: {
containerGroupName: '${scriptStorageAccount.name}cg'
subnetIds: [
{
id: scriptSubnetId
}
}
]
}
}
Expand Down
Loading

0 comments on commit 3e9dc02

Please sign in to comment.