Skip to content

Instantly share code, notes, and snippets.

@InTheCloudDan
Created March 23, 2020 15:22
Show Gist options
  • Save InTheCloudDan/48ad8a8676ebe8864878c6f2f2e8b352 to your computer and use it in GitHub Desktop.
Save InTheCloudDan/48ad8a8676ebe8864878c6f2f2e8b352 to your computer and use it in GitHub Desktop.
TASK [Validating Project: dano-test-project] ***********************************
fatal: [localhost]: FAILED! => changed=false
validated: false
validation:
- failures:
- Need at least one tag
key: test-bool
- failures:
- Need at least one tag
key: test-flag
- failures:
- Need at least one tag
key: test-rule-swap
- failures:
- Flag names should start with test
key: example_test_flag-3
- failures:
- Need at least one tag
key: test-json
- failures:
- Need at least one tag
key: test-number
- failures:
- Flag names should start with test
- Need at least one tag
key: other-flag
deny[msg] {
count(input.tags) < 1
msg := "Need at least one tag"
}
deny[msg] {
not launchdarkly_base.name_startswith(input, "test")
msg := "Flag names should start with test"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment