-
Notifications
You must be signed in to change notification settings - Fork 6
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
crowdstrike_prevention_policy_linux can't handle references in the host_groups #51
Comments
Thanks for the report @DiegoVazquezNanini, I think I've identified the issue. in #47 when you provide a reference to a resource the path is known, but the values are unknown so I added checks to fix that. When you provide a reference the way you do in your example the whole path is unknown. Working on a fix. |
Yes, I understand the root cause of the problem now, but this is a common thing in Terraform that I assumed was handled automatically, but it seems that is not the case. |
My comment was more for my records incase I come across this again in the future. Documenting how variables & resource references are different. The merging of pr #52, which fixed this error, automatically closed the issue. I reopened the issue while I work on publishing a release. I'll comment back when the version that contains your fix is released. |
terraform {
required_providers {
crowdstrike = {
source = "CrowdStrike/crowdstrike"
version = "0.0.9"
}
}
} |
Thank you @ffalor 🙇🏼 |
This solved the issue. Thank you 🙇🏼 |
We get a Value conversion error when passing a reference to host_groups.
After updating to
0.0.8
the error shows a different type.issue 47
issue 50
The text was updated successfully, but these errors were encountered: