1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/rosa-update-billing-cli.adoc
2025-09-17 00:56:10 +00:00

41 lines
1.0 KiB
Plaintext

// Module included in the following assemblies:
//
// * * rosa_cli/rosa-updating-billing-account-cli.adoc
:_mod-docs-content-type: PROCEDURE
[id="rosa-update-billing_{context}"]
= Update billing accounts for {product-title} clusters
.Prerequisites
* You must have more than one AWS billing account.
* The AWS billing account you want your cluster to link to must already be linked to the Red{nbsp}Hat organization where the cluster is deployed.
.Procedure
. Run the following command in your terminal window:
+
.Syntax
[source,terminal]
----
$ rosa edit cluster -c <cluster_ID> <1>
----
<1> Replace `<cluster_ID>` with the ID of the cluster that you want to update the AWS billing account.
+
[NOTE]
====
To locate the IDs of your active clusters, run the `$ rosa list clusters` command in your terminal window.
====
+
. Skip to the `Billing Account` parameter within the interactive mode.
. Select the desired AWS billing account from the list of available options and press "Enter".
+
The AWS billing account for your cluster is now updated.