Closed
Description
When rendering a resource specific template, the ImportFile does not render.
I have the following templates:
$ tree templates/
templates/
├── index.md.tmpl
├── resources
│ └── server.md.tmpl
└── resources.md.tmpl
After adding the server.md.tmpl
to have specific changes for the server resource it doesn't render importFile.
See diff below.
@@ -167,7 +191,4 @@ Required:
- `username` (String)
## Import
Import is supported using the following syntax:
-```shell
-# provider_server Import
-$ terraform import provider_server.example kvm123456
-```
+{{codefile "shell" "examples/resources/provider_server/import.sh"}}
$ find . -name "import.sh"
./examples/resources/provider_server/import.sh
Metadata
Metadata
Assignees
Labels
No labels