Skip to content

Run Codebuild jobs across accounts

0

our codecommit repos,ECR repos,codebuild jobs, codepipeline jobs in dev account which will deploy apps in EKS in the dev account. now we need to deploy our apps in Prod account , so can we create a codebuild job in the **dev account ** and let the codebuild job run (trigger ec2 or lambda) in prod account and pull the ECR image from the dev account and deploy the app in EKS in prod account?

1 Answer
2

Hi,

You have a complete guidance giving all details for cross-account CodeBuild jobs that you may want to follow to achieve your goal: https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/launch-a-codebuild-project-across-aws-accounts-using-step-functions-and-a-lambda-proxy-function.html

Its architecture is following:

Enter image description here

Best

Didier

EXPERT
answered a year ago
EXPERT
reviewed a year ago
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.