Following the Firebase examples to create and deploy a function, I keep failing at the deploy phase. The error, with --debug enabled, shows:
<<< [apiv2][body] POST https://cloudfunctions.googleapis.com/v1/projects/actus-poc2/locations/us-central1/functions {"error":{"code":403,"message":"Cloud Functions uses Artifact Registry to store function docker images. Artifact Registry API is not enabled in your project. To enable the API, visit https://console.developers.google.com/apis/api/artifactregistry.googleapis.com/overview?project=...
Now I was expecting to be able to stay within the confines of the firebase console but this message seems to imply I need to open the Google Cloud Console to enable additional permissions. Should the code samples better document this? Or is this a recent change in firebase functions that breaks many of the existing examples?