SlideRuleEarth / sliderule-prov-sys

Provisioning System for Slide Rule clusters
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Make it easier to force a manual reconciliation - perhaps a button on the new Admin page #33

Closed cugarteblair closed 9 months ago

cugarteblair commented 1 year ago

The Fiscal year to date field was added to the organization model. Reconciles are done incrementally (to minimize the cost of the Cost Explorer API calls) so a manual reconcile is necessary when the implementation code is modified/fixed. This requires an Amin user to set the Most recent charge/credit/recon time to something that is before the FYTD then running the Periodic task force_ad_hoc_cost_reconcile.

This manual processing could be done in a task per org.

cugarteblair commented 1 year ago

The risk here is that each call to the cost explorer is metered and cost $. So this function should not be exposed as a url but accessible via the admin panel only.

cugarteblair commented 9 months ago

This was added to v3.3.7. The recon uses the cached cost explorer data so no risk of increasing cost.