Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_billing_account_cost_management_export, azurerm_resource_group_cost_management_export, azurerm_subscription_cost_management_export adding property file_format #27122

Merged
Prev Previous commit
Update internal/services/costmanagement/export_resource_base.go
Co-authored-by: stephybun <steph@hashicorp.com>
  • Loading branch information
ned1313 and stephybun authored Dec 17, 2024
commit aacfa364133a6836e7979886af66624baa5a575f
4 changes: 1 addition & 3 deletions internal/services/costmanagement/export_resource_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,7 @@ func (br costManagementExportBaseResource) readFunc(scopeFieldName string) sdk.R
if err := metadata.ResourceData.Set("export_data_options", flattenExportDefinition(&props.Definition)); err != nil {
return fmt.Errorf("setting `export_data_options`: %+v", err)
}
if format := props.Format; format != nil {
metadata.ResourceData.Set("file_format", string(pointer.From(format)))
}
metadata.ResourceData.Set("file_format", string(pointer.From(props.Format)))
}
}

Expand Down
Loading