opa-aws-cloudformation-hook icon indicating copy to clipboard operation
opa-aws-cloudformation-hook copied to clipboard

Non-Linux users without Docker Desktop cannot build hook locally

Open pauly4it opened this issue 3 years ago • 1 comments

For users who do not have Docker Desktop installed locally due to licensing issues, the cfn submit command cannot be run with the default Docker flow. Disabling the Docker option in the hook configuration and building the zip file on a non-Linux system results in Lambda function errors. The cfn cli does not currently officially support Docker alternatives.

I recommend running the cfn submit --dry-run command on an Ubuntu GitHub runner with Docker installed to generate a valid hook zip file.

pauly4it avatar Aug 02 '22 19:08 pauly4it

We now have zip files generated and attached to workflow runs as artifacts. Next steps:

  1. Update README to mention the generated zip files and how to register a hook using the zip file
  2. Move to a versioned release flow similar to the OPA repo

pauly4it avatar Aug 05 '22 18:08 pauly4it