GoogleCloudPlatform / config-validator

Golang library which provides functionality to evaluate GCP resources against Rego-based policies
Apache License 2.0
45 stars 36 forks source link

Add support for a terraform target #174

Closed ScottSuarez closed 2 years ago

ScottSuarez commented 2 years ago

Adds initial support for terraform target. Integration design as a followup.

This will allow validation against a terraform plan's resource_changes directly.

ScottSuarez commented 2 years ago

@morgante @melinath Doesn't look like I am able to add reviewers here, could you help to take a look.

morgante commented 2 years ago

Added @melinath and myself as reviewers.

ScottSuarez commented 2 years ago

looks like I was able to align to the original target testing framework... great call on code reuse ! This is way more elegant.

melinath commented 2 years ago

@morgante I think this is looking pretty good; would you be able to take a look?