This repository is the accompanying source code to the blog article located here: https://aws.amazon.com/blogs/security/enable-external-pipeline-deployments-to-aws-cloud-by-using-iam-roles-anywhere/
Please check the article for detailed deployment steps.