crc-org / crc-cloud

Disposable OpenShift instances on cloud in minutes
31 stars 19 forks source link

GitHub Actions workflow using OIDC is broken #44

Closed lmilbaum closed 1 year ago

lmilbaum commented 1 year ago

https://github.com/platform-engineering-org/poc/pull/93

`Diagnostics: pulumi:pulumi:Stack (crc-ocp412-crcCloud-Create): error: an unhandled error occurred: 1 error occurred:

adrianriobo commented 1 year ago

According to configure-aws-credentials on each execution a new pair of short-lived credentials are and set as ENVs for the runner

crc-cloud is based on pulumi, and pulumi inherit any standard auth mechanism offered by AWS, also as crc-cloud is being executed within the container we need to pass all the required ENVs to it:

adding them to the container execution, crc-cloud works as expected (currently failing due to invalida PULL_SECRET content)