You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 7, 2025. It is now read-only.
Finally, you need to assign the `billing.user` role too. Later in this workshop, it will be needed to attach a `Project` to a Billing Account. If you don't have the proper role you may have an error by running the command below. In this case you need to ask your Billing Account or Organization admins in order to run this command for you.
In some specific scenario, you may not be able to accomplish this step. You could skip it for now, another way to assign the Billing Account to a `Project` will be provided later in this workshop, when you will need it.
Here, if you skipped the assignment of the `billing.user` role earlier while you were setting up your Config Controller instance, you will have an error with the creation of the `Project`. A simple way to make sure you don't have any error is to run this command below:
194
+
```Bash
195
+
kubectl get gcpproject -n config-control
196
+
```
197
+
198
+
If the output is similar to this below, you are good:
With a closer look at the error by running this command `kubectl descibe gcpproject -n config-control`, you will see that the error is similar too:
211
+
```Plaintext
212
+
Update call failed: error applying desired state: summary: Error setting billing account "XXX" for project "projects/acm-workshop-463-gke": googleapi: Error 403: The caller does not have permission, forbidden
213
+
```
214
+
215
+
You can resolve this issue by running by yourself this command below:
216
+
```Bash
217
+
gcloud beta billing projects link $GKE_PROJECT_ID \
218
+
--billing-account $BILLING_ACCOUNT_ID
219
+
```
220
+
221
+
As Config Connector is still reconciling the resources, if you successfully ran this command, the error will disappear. You can run again the command `kubectl get gcpproject -n config-control` to make sure about that.
222
+
223
+
If you can't run the command above, the alternative is having someone in your organization (Billing Account or Organization admins) running it for you.
0 commit comments