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
Next Next commit
Extract value from format pointer
  • Loading branch information
ned1313 committed Aug 21, 2024
commit 3e8ab8771df798dbddf8e48f5c04706b31bdbc60
2 changes: 1 addition & 1 deletion internal/services/costmanagement/export_resource_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func (br costManagementExportBaseResource) readFunc(scopeFieldName string) sdk.R
return fmt.Errorf("setting `export_data_options`: %+v", err)
}
if format := props.Format; format != nil {
metadata.ResourceData.Set("file_format", format)
metadata.ResourceData.Set("file_format", string(pointer.From(format)))
}
}
}
Expand Down