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

patch - tco_policy - support iterations over fields #161

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

OrNovo
Copy link
Contributor

@OrNovo OrNovo commented Oct 18, 2023

e.g. -

locals {
  test = [{
    rule_type : "includes"
    names : ["-dev"]
  }]
}

resource "coralogix_tco_policy_logs" "tco_policy" {
  count = 1

  name        = "test"
  priority     = "medium"
  order        = count.index + 1
  severities   = ["debug", "verbose", "info", "error", "warning", "critical"]
  applications = local.test[count.index]
}

@OrNovo OrNovo requested a review from a team as a code owner October 18, 2023 12:25
@OrNovo OrNovo linked an issue Oct 18, 2023 that may be closed by this pull request
oded-dd
oded-dd previously approved these changes Oct 18, 2023
@OrNovo OrNovo merged commit 4d031c6 into master Oct 18, 2023
4 of 5 checks passed
@OrNovo OrNovo deleted the tco_policy_support_iterations_over_fields branch October 18, 2023 13:38
@github-actions
Copy link

🎉 This PR is included in version 1.8.20 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

coralogix_tco_policy_logs value conversion error
2 participants