Skip to content
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

fix tf v1.1.0 init module sources #1206

Merged
merged 4 commits into from
Jan 4, 2022
Merged

fix tf v1.1.0 init module sources #1206

merged 4 commits into from
Jan 4, 2022

Conversation

martijnvdp
Copy link
Contributor

@martijnvdp martijnvdp commented Dec 26, 2021

This PR fixes the issue with the terraform v1.1.0+ module sources
by changing matching on module source to matching on module name with module key in the json metadata file.
module source is since tf 1.1.0 no longer always equal to the source in the metadata json file(.terraform\modules\modules.json) ,for instance terraform/hashicorp auto resolves to registry.terraform.com, googleapis.com to gcs etc..
see issue #1188

@martijnvdp martijnvdp marked this pull request as draft December 28, 2021 07:54
@martijnvdp martijnvdp marked this pull request as ready for review December 29, 2021 13:24
@martijnvdp martijnvdp marked this pull request as draft December 29, 2021 13:32
@martijnvdp martijnvdp marked this pull request as ready for review December 30, 2021 16:28
@martijnvdp martijnvdp marked this pull request as draft December 31, 2021 07:59
@martijnvdp martijnvdp marked this pull request as ready for review December 31, 2021 07:59
@liamg
Copy link
Contributor

liamg commented Jan 4, 2022

Thanks for this, we should have a release out in roughly a week.

@liamg liamg merged commit 53905f0 into aquasecurity:master Jan 4, 2022
@martijnvdp martijnvdp deleted the fix-tf-v1.1.0-init-modules-source branch January 4, 2022 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants