Skip to content

Files

Setup

  1. You must create the IAM role referred to as TestRunnerRoleArn in the buildtools/ci.template. The role should be created in the account GitHub accesses.
  2. Create CF template using buildtools/ci.template in the account that runs the integration tests
  3. Copy output CodeBuildProjectName & OidcRole output variables.
  4. Create CI_AWS_ROLE_ARN repository secret with OidcRole value and CI_AWS_CODE_BUILD_PROJECT_NAME repository secret with CodeBuildProjectName value.
  5. Voila!

Troubleshooting

thumbprint rotation

Error: OpenIDConnect provider's HTTPS certificate doesn't match configured thumbprint

This can happen if GitHub has rotated the thumbprint of the certificate. Follow this guide to generate new thumbprint.

Redeploy the ci.template with the new thumbprint. Additionally, contact https://github.com/aws-actions/configure-aws-credentials/issues for the thumbprint rotation.