This message was deleted.
# atlantis-community
s
This message was deleted.
1
r
Try sshing into Atlantis and run the commands on the pod/server and see if it works. If you can get it to work there, then you can copy the command to your yaml workflow
t
yeah that's what I meant, we ran the command inside the pod and it just worked. Not sure what you mean by copying it into the workflow, is it then still the "in-build" policy checking? Or am I just making the policy check myself by running a command?
r
Did you run it as the same user as atlantis or root user?
t
yeah that is exactly what I did. It seems like in order to use pulled policies you must have defined a policy set, even if it only has an empty policy? It does not seem to work if you just define the policy_check block as shown in the link.
Is that the expected behaviour?
r
I'm unsure on expectations as i haven't played with this feature yet. Atlantis should only be running the conftest command on your behalf. If you're running it manually and seeing a difference then perhaps you're running into a bug in the logic?
t
Yeah, it's odd, but we got it working after adding a hardcoded rego file. Thanks for the input
👍 1