Open flanakin opened 1 year ago
Would this work item cause this Cmdlet to return the latest deployed version of the template? Currently when I run this, I get this for the version return:
Version : 0.1
However, I have deployed the 0.3 version and have verified the version by checking the tag on the storage account (+ I have seen the changes implemented in the 0.3 version of the hub).
My use case: writing a deployment pipeline for updating the finops hub version, would be useful to use the Get
Cmdlet to check what version is already deployed.
Reviewing the code, I think the first if statement should check for the existence of the ftk-version
tag and then if it matches across all of the resources it gets applied to, set the value of $version to the tag value.
π Scenario
As a hub admin, I need to get hub metadata in order to confirm the hub is setup correctly
π Solution
Update the Get-FinOpsHub command to include new settings and resources in 0.3.
Synopsis, syntax, description, and parameters should not change. We only need to update the output.
πββοΈ Ask for the community
We could use your help: