6min
|
Writers
|
Updated 17 Sep 2019
Print

Pushing Images Directly to Your Project

Being a member of the Professional or Enterprise tier allows the user to directly push baked golden images to specified projects. This feature requires adding the Bytes Bakery Service Account to the user's GCP project.

Requirements:

  • Google Compute API enabled
  • IAM Permissions
    • disks.insert
    • images.insert
    • disks.createSnapshot



Reference:

GCP Documentation on Sharing Images and Snapshots.

Our service account: bakery@bytes-bakery-dev.iam.gserviceaccount.com

gcloud Command:

gcloud projects add-iam-policy-binding [PROJECT_ID] \ --member [MEMBER_TYPE]:[ACCOUNT] --role [ROLE]