-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Escaping quotes with sysdig_secure_list resource #29
Comments
Hi @heydonovan, thanks for your feedback. About that question of the Terraform will create first the list and then the macro using the name of the list already created. About those 500 errors, they look like connection problems, maybe in our side. If they happen again, please tell me again about it and I will take care of it. FYI the TF_LOG=DEBUG should be working now so you can check the API calls being sent back and forth, if you could attach them that'd be helpful. |
Hello @heydonovan, did you manage to give a try to the comment I sent about referencing the List in a Falco Rule? |
Hello @heydonovan, @ukitazume tried the |
We have to escape the double-quotes to prevent syntax errors like this one:
Which is fine, just makes it a bit more difficult to read.
Also, how does the
sysdig_secure_rule_falco
resource know to create thesysdig_secure_list
resource before referencing it? For example:I think there might be a race condition here. I don't think I can include the name of the list resource in the condition itself, since we need to evaluate the list in terraform first, and then pass the full condition to the sysdig api (if that makes sense).
We also ran into this exception a few times, but I've been unable to determine the exact reason:
The text was updated successfully, but these errors were encountered: