Multiple GCP Service Accounts in a SINGLE GitHub Workflows

Sdílet
Vložit
  • čas přidán 19. 07. 2024
  • In this video we are going to see how to use multiple Google identities in the same GitHub Workflow.
    I have created two storage bucket one for Development and one for Production and two service accounts one for each environment.
    I only want the DEV SA to access the Dev Bucket and the PRD SA to access the Prod one.
    You can find the script to recreate this demo and the workflow yaml at the following link:
    bit.ly/gh-multi-id
    This is extremely useful for terraform for example where you want to have a service account with the permissions to execute terraform plan in the pull request and another service account for the apply when merged.
    Click here if you want to see how to see a terraform example
    Thank you for watching and see you in the next one.
    WHO AM I:
    Hey friends, welcome to my CZcams channel @outofdevops . If you're new my name is Anto, here I talk about software engineering and software engineers. Don't forget to comment like and subscribe 👍🏻.
    CZcams GEAR:
    🎥 My CZcams Camera Gear - kit.co/outofdevops
    MY SOCIAL LINKs:
    🐦 Twitter - / outofdevops
    📘 Facebook - / outofdevops
    📰 My blog - amasucci.com
    📸 Instagram - / outofdevops
    GET IN TOUCH:
    If you’d like to talk, I’d love to hear from you. Tweeting @OutOfDevOps directly will be the quickest way to get a response, but if your question is very long, feel free to email me at hi@OutOfDevOps.com.
    PS: Some of the links in this description are affiliate links that I get a kickback from 😜

Komentáře • 1