cloudformation-guard icon indicating copy to clipboard operation
cloudformation-guard copied to clipboard

[Enhancement] Amazon linux 2 support

Open 0xjjoyy opened this issue 4 years ago • 3 comments

Is your feature request related to a problem? Please describe.

Pre-built binaries for amazon linux 2. Currently binaries are available for mac and ubntu.

Describe the solution you'd like

Ability to pull down cfn-guard binary for amazon linux 2.

Describe alternatives you've considered

Build from source make or cargo.

Additional context

Add any other context or screenshots about the feature request here.

0xjjoyy avatar Jul 14 '21 14:07 0xjjoyy

We would need to host AL2 as a self-hosted runner.

priyap286 avatar Jul 16 '21 18:07 priyap286

Although not as ideal as having available as a pre-built binary, here's how we're currently installing on Amazon Linux 2 in Userdata as a workaround for now:

yum install -y gcc cmake
curl https://sh.rustup.rs -sSf | sh -s -- -y
cargo install cfn-guard
export PATH="~/.guard/bin:${PATH}"

scrthq avatar Aug 16 '21 22:08 scrthq

I just came across this issue and I wanted to mention that, we use the ubuntu binaries on amazonlinux 2 and they work without any issues

sepehrdaddev avatar Oct 23 '21 19:10 sepehrdaddev

Hi @0xjjoyy, the latest install scripts are compatible with AL2. Closing this issue but please let us know if you continue to have issues.

razcloud avatar Nov 17 '22 19:11 razcloud