DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Cross-account and cross-region deployment using GitHub actions and AWS CDK

4 years ago aws.amazon.com
Cross-account and cross-region deployment using GitHub actions and AWS CDK

Summary: This is a summary of an article originally published by AWS DevOps Blog. Read the full original article here →

GitHub Actions is a feature on GitHub’s popular development platform that helps you automate your software development workflows in the same place you store code and collaborate on pull requests and issues. A cross-account deployment strategy is a CI/CD pattern or model in AWS.

In this post, we show you how to use GitHub Actions to deploy an AWS Lambda-based API to an AWS account and Region using the cross-account deployment strategy.

You also create the cross-account role in the target account that trusts the IAM user in the tools account and provides the required permissions for AWS CDK to bootstrap and initiate creating an AWS CloudFormation deployment stack in the target account.

In this post we showed how you can leverage GitHub’s popular software development platform to securely deploy to AWS accounts and Regions using GitHub actions and AWS CDK.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com