Skip to content
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

Terraform export multiline predicate value causes broken filter #47

Open
rocktavious opened this issue Aug 22, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@rocktavious
Copy link
Collaborator

A customer using our CLI terraform export got the following filter exported

resource "opslevel_filter" "all_kotlin_services" {
  name = "All Kotlin services"
  connective = ""
  
  predicate {
    key = "language"
    key_data = ""
    type = "equals"
    value = <<-EOT
Kotlin
EOT
  }

}  

But this cased the filter to return 0 services because of the multiline nature of the predicate value having newlines before and after the word "Kotlin"

@rocktavious rocktavious added the bug Something isn't working label Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant