1
Upload an artifact
Connect the GitHub repository and follow Deploy an artifact to S3. Use the environment OIDC role and artifacts bucket. Wait until the workflow finishes and the zip is in S3.
2
Create the Lambda
Open the environment, click Add resources, and choose Lambda. Select the artifact that was just uploaded, complete the form, then click Create.
If the Lambda form has no artifact to select, the upload has not completed. Fix the GitHub Actions workflow, deploy the artifact again, then return to the Lambda form.