-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
2
-
True
-
False
-
None
-
HAC Infra OCM - Sprint 237
Context:
With consumption based billing where Red Hat does the metering, there are two cloud accounts that we look at. One where the infrastructure is provisioned and another where the subscription usage is submitted for billing. Usually, both these cloud accounts are the same and expected to be the same for the majority of the users. However, we can have cases where individual users within a team are using their own cloud accounts for provisioning the cluster/addon, but the the subscription was purchased/activated for a single billing account that is used by the different members of the team. This billing account is where the usage will be submitted.
Requirement:
We need to alert customers (provide them with a alert/warning message in the UI) when the two cloud accounts are different (where infra resides and where subscription usage charges will flow).
Ideally, we can preselect the AWS account (if it is available in the dropdown) where the infrastructure exists to better assist our customers.
Success criteria
- When a user selects an AWS infrastructure account, the billing account is set to this same account if: the AWS account exists in the billing dropdown and the user hasn't already selected another billing account
- When the user selects different AWS infrastructure and billing accounts and it is an HCP (aka Hypershift) cluster, an alert is shown informing the user
Designs: https://docs.google.com/document/d/126WG9F7nZDhsJsNbghY2CYigqF3Ia5F6-4V0H6oOSwg/edit#