This message was deleted.
# atlantis-community
s
This message was deleted.
i
What are you trying to do with jq?
j
we have certain resources which shouldn't be changed during certain hours. So I want to use jq to check which resources will be changed, and if one of the restricted resources is going to be changed during the restricted hours, just
exit 1
and fail the apply before applying.
p
can't you use opa policies with contest?
j
I'm not opposed to using proper opa policies, but I'm not sure those can accomplish what I want. For example, if I did it on my own in bash, this would meet my requirements: https://pastebin.com/raw/ERbAdn9Q Can opa policies do that?
p
I will be surprised if is not possible