Update generated docs for terraform-plugin-docs v0.24.0#63
Update generated docs for terraform-plugin-docs v0.24.0#63Copilot wants to merge 3 commits intodependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.24.0from
Conversation
Co-authored-by: OJFord <3946014+OJFord@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
docs/resources/asymmetric_key.md
Outdated
| Import is supported using the following syntax: | ||
|
|
||
| The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: | ||
|
|
There was a problem hiding this comment.
I believe you it's 'correct', because the tfplugindocs lint is passing, but this reads weirdly: there's now two different lines introducing the terraform import command. Something must be wrong with the template?
There was a problem hiding this comment.
Fixed by creating custom resource templates. The issue was that tfplugindocs v0.24.0's built-in template still included "Import is supported using the following syntax:" while also adding the new "The terraform import command can be used..." line. The custom templates now only include the modern format. (b1ee455)
There was a problem hiding this comment.
Yes, I see the same locally; I've raised hashicorp/terraform-plugin-docs#552.
…lates Co-authored-by: OJFord <3946014+OJFord@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
The dependency bump to terraform-plugin-docs v0.24.0 changed the format of generated documentation. The existing docs were generated with v0.21.0 and needed regeneration.
Changes
tfplugindocs generatetemplates/resources/asymmetric_key.md.tmplandtemplates/resources/preshared_key.md.tmpl) to avoid duplicate introduction text in the import sectionsThe change affects
docs/resources/asymmetric_key.mdanddocs/resources/preshared_key.md. Custom templates were added to ensure the import section uses only the modern format without redundant text.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.