feat: add RHEL 7 base and Debian 10 cnspec infrastructure#104
Merged
Conversation
Add Terraform infrastructure for testing against base (non-CIS) images where the CIS-hardened AMIs are no longer available on AWS Marketplace. RHEL 7: - AMI data source for RHEL 7.9 x86_64 (Red Hat official, owner 309956199498) - Modules: rhel7 (base), rhel7_cnspec (with cnspec user_data) - Variables: create_rhel7, create_rhel7_cnspec - Outputs: SSH commands for both variants Debian 10: - Module: debian10_cnspec (reuses existing debian10 AMI data source) - Variable: create_debian10_cnspec - Output: SSH command (admin user)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CIS-hardened AMIs for RHEL 7 and Debian 10 were delisted from AWS Marketplace, but the base images are still available. This adds infrastructure so policies can still be tested against these OSes using the base images.
RHEL 7
RHEL-7.9_HVM-*-x86_64*(Red Hat official, owner309956199498)rhel7(base),rhel7_cnspec(with cnspec agent)RHEL-7.9_HVM-20240930-x86_64-0-Hourly2-GP3(Oct 2024)Debian 10
debian10_cnspec(reuses existingdata.aws_ami.debian10data source)debian-10-amd64-20240703-1797(Jul 2024)