microsoft / microsoft/finops-toolkit
Extract New-FinOpsExportManifest as a reusable PowerShell command
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 603
- Forks
- 248
- Avg merge
- 7d 11h
- Merged PRs (30d)
- 11
Description
Summary
Extract the manifest generation logic from New-FinOpsTestData into a standalone New-FinOpsExportManifest command that can be used independently.
Motivation
New-FinOpsTestData currently generates Cost Management-compatible manifest files inline. This logic is useful beyond test data — anyone creating custom data pipelines or tooling that writes to FinOps hubs storage could benefit from a dedicated manifest command.
Proposed changes
- Create a new
New-FinOpsExportManifestcommand in the PowerShell module - Support all manifest fields (blobCount, blobs, byteCount, dataFormat, exportConfig, runInfo, etc.)
- Support the
_ftkTestDatawatermark fields as optional parameters - Refactor
New-FinOpsTestDatato callNew-FinOpsExportManifestinternally - Add Pester tests and MS Learn documentation
Context
Deferred from PR #2006 (New-FinOpsTestData and Remove-FinOpsTestData).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the manifest generation logic in New-FinOpsTestData and identify every manifest field, including the optional _ftkTestData watermark fields. Extract it into the New-FinOpsExportManifest command, update New-FinOpsTestData to use it, then add Pester coverage and the corresponding MS Learn documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cloud, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100