Skip to content

Commit

Permalink
docs: paths and content can be used together
Browse files Browse the repository at this point in the history
Documentation follow-up for #48
  • Loading branch information
znd4 authored and dghubble committed Dec 17, 2024
1 parent 3373be1 commit c7922c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/data-sources/cue_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ data "cue_config" "example" {
"core.cue",
"box.cue",
]
# `paths` and `content` can be combined
# content = "foo: bar"
pretty_print = false
}
```
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c7922c4

Please sign in to comment.