Skip to content

Commit

Permalink
Fix kubectl_path_documents.md documentation
Browse files Browse the repository at this point in the history
Revert gavinbunney#140 as the original documentation was correct
Remove invalid argument
  • Loading branch information
613andred committed May 11, 2022
1 parent 940a9ee commit 6832a02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/data-sources/kubectl_path_documents.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ data "kubectl_path_documents" "docs" {
}
resource "kubectl_manifest" "test" {
for_each = toset(data.kubectl_path_documents.docs.documents)
for_each = data.kubectl_path_documents.docs.manifests
yaml_body = each.value
}
```
Expand Down Expand Up @@ -163,7 +163,6 @@ metadata:
## Argument Reference

* `pattern` - Required. Glob pattern to search for.
* `force_new` - Optional. Forces delete & create of resources if the `yaml_body` changes. Default `false`.
* `vars` - Optional. Map of variables to use when rendering the loaded documents as templates. Currently only strings are supported.
* `sensitive_vars` - Optional. Map of sensitive variables to use when rendering the loaded documents as templates. Merged with the `vars` attribute. Currently only strings are supported.
* `disable_template` - Optional. Flag to disable template parsing of the loaded documents.
Expand Down

0 comments on commit 6832a02

Please sign in to comment.