- You must create the IAM role referred to as
TestRunnerRoleArn
in thebuildtools/ci.template
. The role should be created in the account GitHub accesses. - Create CF template using
buildtools/ci.template
in the account that runs the integration tests - Copy output
CodeBuildProjectName
&OidcRole
output variables. - Create
CI_AWS_ROLE_ARN
repository secret withOidcRole
value andCI_AWS_CODE_BUILD_PROJECT_NAME
repository secret withCodeBuildProjectName
value. - Voila!
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.