fix(finops): update dataVersion to 2023-05-01 across all cost exports#281
Merged
fix(finops): update dataVersion to 2023-05-01 across all cost exports#281
Conversation
Updates Azure Cost Management exports to use the latest data schema version which includes additional fields for reservation costs. - Updates dataVersion from 2021-10-01 to 2023-05-01 in all finops.tf - Adds missing dataVersion, filters, and destination.type to azure_fxci JIRA: RELOPS-2168
Fixes invalid dataVersion (2023-05-01 is only valid for PriceSheet/ ReservationRecommendations, not ActualCost/AmortizedCost exports). - Changes dataVersion from 2023-05-01 to 2021-10-01 across all exports - Standardizes dataOverwriteBehavior to CreateNewReport for tceng and trusted_fxci JIRA: RELOPS-2168
FXCI subscription exports don't support the dataVersion property. Azure returns "DataVersion property is not supported" when attempting to set it. Removed dataVersion and filters to match Azure's actual configuration. JIRA: RELOPS-2168
Import blocks for azure_billing Anonym exports removed after terraform apply successfully imported the resources into state. JIRA: RELOPS-2168
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes cost export configuration to match what Azure actually supports.
Changes:
dataVersion: Changed from2023-05-01to2021-10-01(2023-05-01 is only valid for PriceSheet/ReservationRecommendations, not ActualCost/AmortizedCost)dataOverwriteBehavior: Standardized toCreateNewReportfor azure_tceng and azure_trusted_fxciazure_fxci: RemoveddataVersionandfilters(FXCI subscription doesn't support these properties)References
JIRA: RELOPS-2168