bridgecrewio / yor

Extensible auto-tagger for your IaC files. The ultimate way to link entities in the cloud back to the codified resource which created it.
https://www.yor.io
Apache License 2.0
810 stars 123 forks source link

fix file close temp files(windows) and add support for gcp labels in modules #321

Closed JamesWoolfenden closed 1 year ago

JamesWoolfenden commented 1 year ago

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. The write back of files was failing on windows as the file had not been closed.

Ioutil has been deprecated so i replaced it where used.

GCP labels weren't being applied at the module level because label!=tag. Added label to the list of module tag-gable items.

Why 3 fixes in one and via a fork? ~Global protect is why.