Skip to content

[feat](terraform): add s3 module loader - WIP #7066

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tarfeef101
Copy link
Contributor

@tarfeef101 tarfeef101 commented Mar 20, 2025

User description

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Description

Adds a loader to download s3-hosted TF modules

Fixes #5895

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my feature, policy, or fix is effective and works
  • New and existing tests pass locally with my changes

Generated description

Below is a concise technical summary of the changes proposed in this PR:

TopicDetails
S3 Loader Implement Implements a new S3Loader class to download Terraform modules from Amazon S3 buckets
Modified files (1)
  • checkov/terraform/module_loading/loaders/s3_loader.py
Latest Contributors(0)
UserCommitDate
S3 Loader Integrate Integrates the new S3Loader into the existing module loading system
Modified files (2)
  • checkov/terraform/module_loading/loaders/registry_loader.py
  • checkov/terraform/module_loading/__init__.py
Latest Contributors(2)
UserCommitDate
maxamelfeat-general-fix-proxy...February 06, 2025
lirshindalmanfeat-terraform-add-opt...January 01, 2025
This pull request is reviewed by Baz. Join @tarfeef101 and the rest of your team on (Baz).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

S3 External Modules Cannot Be Downloaded, breaking suppressions w/ plan files
1 participant