diff --git a/website/pages/docs/builders/file.mdx b/website/pages/docs/builders/file.mdx index 2ed8e2e0d..d153fd087 100644 --- a/website/pages/docs/builders/file.mdx +++ b/website/pages/docs/builders/file.mdx @@ -21,6 +21,9 @@ wait times. Below is a fully functioning example. It create a file at `target` with the specified `content`. + + + ```json { "type": "file", @@ -29,6 +32,24 @@ specified `content`. } ``` + + + +```hcl +source "file" "basic-example" { + content = "Lorem ipsum dolor sit amet" + target = "dummy_artifact" +} + +build { + sources = ["sources.file.basic-example"] +} +``` + + + + + ## Configuration Reference Configuration options are organized below into two categories: required and