FinOps-Open-Cost-and-Usage-Spec / FOCUS_Spec

The Unifying Specification for Cloud Billing Data
https://focus.finops.org
Other
169 stars 38 forks source link

[Proposal] Add a dimensions for grouping billing accounts #102

Open udam-f2 opened 1 year ago

udam-f2 commented 1 year ago

Type

Dimension

Proposed Change

FOCUS 0.5 introduces a sub account and a billing account constructs. There aren't any ways to group a set of billing accounts that serve a similar purpose. @riley Jenkins & @irena Jurica have brought up the need for a higher level dimension that groups a bunch of the invoice generating billing accounts together. Discuss and add as needed.

Context / Supporting information

Some cloud providers already have this grouping

udam-f2 commented 8 months ago

@ijurica Should we close this out? and create new if we still think this is needed?

flanakin commented 8 months ago

Can we get some examples? I'm not sure what this is asking for.

ijurica commented 8 months ago

In the 0.5 stage, we introduced two resource grouping constructs: billing account and subaccount. This dimension was intended to represent the top-level element, i.e. the root account (tenant, tenancy, organization, etc.). The root account would serve as the overarching parent, though not necessarily in a direct manner, for both subaccounts and billing accounts.

The top-level (root) element in the AccountHierarchy, mentioned in https://github.com/FinOps-Open-Cost-and-Usage-Spec/FOCUS_Spec/issues/301 would probably provide the same information.

rileyjenk commented 8 months ago

The overall problem is that billing account and sub account are defined as receiving an invoice vs not, in the appendix...however a linked account in AWS can receive its own invoice. This is usually done in a multi national company where different entities are invoiced for specific geos. For example in AWS you can have a master payer account that has linked accounts, where those linked accounts generate their own invoices, yet are part of the master payer account.

flanakin commented 7 months ago

@rileyjenk In that case, it sounds like the point of this column would be for the master payer account. Because if a linked account is generating the invoice, then that's what should be specified for the BillingAccountId/Name.