{"id":13515448,"url":"https://github.com/SeisoLLC/easy_infra","last_synced_at":"2025-03-31T04:37:06.170Z","repository":{"id":39887419,"uuid":"265361112","full_name":"SeisoLLC/easy_infra","owner":"SeisoLLC","description":"A docker container to simplify and secure the use of Infrastructure as Code (IaC)","archived":false,"fork":false,"pushed_at":"2024-04-08T04:24:34.000Z","size":3771,"stargazers_count":65,"open_issues_count":3,"forks_count":7,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-04-08T05:28:36.407Z","etag":null,"topics":["aws","azure","cloud","docker","docker-container","docker-image","iac","infrastructure","infrastructure-as-code","security","seiso"],"latest_commit_sha":null,"homepage":"https://seisollc.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SeisoLLC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-05-19T20:39:57.000Z","updated_at":"2024-07-24T20:40:24.890Z","dependencies_parsed_at":"2023-12-04T05:25:57.271Z","dependency_job_id":"2c2c7679-1d92-4911-9848-f38fad5c2f2f","html_url":"https://github.com/SeisoLLC/easy_infra","commit_stats":null,"previous_names":[],"tags_count":177,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeisoLLC%2Feasy_infra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeisoLLC%2Feasy_infra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeisoLLC%2Feasy_infra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeisoLLC%2Feasy_infra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SeisoLLC","download_url":"https://codeload.github.com/SeisoLLC/easy_infra/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246418657,"owners_count":20773934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","azure","cloud","docker","docker-container","docker-image","iac","infrastructure","infrastructure-as-code","security","seiso"],"created_at":"2024-08-01T05:01:11.480Z","updated_at":"2025-03-31T04:37:03.112Z","avatar_url":"https://github.com/SeisoLLC.png","language":"Python","funding_links":[],"categories":["Tools","Python"],"sub_categories":["Wrappers"],"readme":"\u003ch1 align=\"center\"\u003eEasy Infra[structure as Code]\u003c/h1\u003e\n\n## Getting Started\n\neasy_infra is a docker container that simplifies and secures Infrastructure as Code deployments by running security scans prior to running IaC tools. It\nsupports three main use cases:\n\n1. **Experimentation** by supporting interactive use and secure troubleshooting.\n1. **Continuous Integration** as a part of Pull/Merge Request validation.\n1. **Continuous Deployment** as an automated deployment tool.\n\nIn order to run your infrastructure code from within the container, volume mount your files into `/iac` and pass it your command, for example:\n\n```bash\ndocker run -v .:/iac seiso/easy_infra:latest-terraform terraform validate\n```\n\nYou can simplify your workflow further by using aliases. For instance, consider putting something like the following in your `.zshrc`, `.bashrc`, or similar:\n\n```bash\nalias terraform=\"docker run -v .:/iac seiso/easy_infra:latest-terraform terraform\"\n```\n\nThis will allow you to run simple `terraform` commands at the command-line, which will run transparently in easy_infra:\n\n```bash\nterraform validate\nterraform plan\nterraform apply\n```\n\nTo learn more, check out [our documentation](https://easy-infra.readthedocs.io/) and [CONTRIBUTING.md](./CONTRIBUTING.md).\n\n## Secure by default\n\nThis container provides security features by default.  Deploying an environment using terraform would likely look something like this:\n\n```bash\ndocker run -v .:/iac seiso/easy_infra:latest-terraform /bin/bash -c \"terraform init \u0026\u0026 terraform apply -auto-approve\"\n```\n\nWhat `easy_infra` does in this case is:\n\n1. Run a `checkov` security scan\n1. Run `terraform init`\n1. Identify if the filesystem changed, and only if so, run another `checkov` security scan\n1. Run `terraform apply -auto-approve`\n\n### Learning mode\n\nThe learning mode suppresses the exit codes of any injected validation, hook, or security tooling, ensuring the provided commands will run.\nThis can be configured by setting the `LEARNING_MODE` environment variable to `true`, for instance:\n\n```bash\ndocker run -e LEARNING_MODE=true -v .:/iac seiso/easy_infra:latest-terraform terraform apply -auto-approve\n```\n\n### Debugging\n\nIf you'd like to enable debug logs at runtime, pass an environment variable of `LOG_LEVEL` with a value of `DEBUG`, such as:\n\n```bash\ndocker run -e LOG_LEVEL=DEBUG -v .:/iac seiso/easy_infra:latest-terraform terraform validate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSeisoLLC%2Feasy_infra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSeisoLLC%2Feasy_infra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSeisoLLC%2Feasy_infra/lists"}