From c7922c4f3466556bfbac8a7402318870f89b47d2 Mon Sep 17 00:00:00 2001 From: Zane Dufour Date: Sun, 24 Nov 2024 20:42:48 -0600 Subject: [PATCH] docs: `paths` and `content` can be used together Documentation follow-up for #48 --- docs/data-sources/cue_config.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/data-sources/cue_config.md b/docs/data-sources/cue_config.md index 2b6a90e..da6eb49 100644 --- a/docs/data-sources/cue_config.md +++ b/docs/data-sources/cue_config.md @@ -31,6 +31,8 @@ data "cue_config" "example" { "core.cue", "box.cue", ] + # `paths` and `content` can be combined + # content = "foo: bar" pretty_print = false } ``` @@ -58,7 +60,7 @@ output "out" { ## Argument Reference -* `content` - inline CUE contents to evaluate (exclusive with `paths`) +* `content` - inline CUE contents to evaluate * `dir` - Root directory CUE uses to load and evaluate imports * `paths` - list of paths to CUE files (relative to Terraform workspace) to evaluate (exclusive with `content`) * `expression` - evaluate an expression instead of an entire config