Skip to content

Instantly share code, notes, and snippets.

@aavarghese
Created October 26, 2021 16:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save aavarghese/b6c13fd57b99411ae7ef7083536b0b04 to your computer and use it in GitHub Desktop.
Example Rego file with typo for Newstack blog
package ibmcloud.tfplan
import data as tfplan
# lists all the variables from variable section
# METADATA
# schemas:
# - data: schema.plan-schema
variables = vars{
some k
vars := { k : v |
v := tfplan.varibales[k].value
true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment