fix(kb): update the template

This commit is contained in:
Michele Cereda
2024-02-29 22:15:10 +01:00
parent c6a1bc4941
commit b73153c9cf
2 changed files with 6 additions and 11 deletions

View File

@@ -2,6 +2,7 @@
Intro Intro
<!-- Remove this line to uncomment if needed
## Table of contents <!-- omit in toc --> ## Table of contents <!-- omit in toc -->
1. [TL;DR](#tldr) 1. [TL;DR](#tldr)
@@ -12,17 +13,13 @@ Intro
## Further readings ## Further readings
## Sources ### Sources
All the references in the [further readings] section, plus the following:
<!-- <!--
References References
--> -->
<!-- In-article sections --> <!-- In-article sections -->
[further readings]: #further-readings
<!-- Knowledge base --> <!-- Knowledge base -->
<!-- Files --> <!-- Files -->
<!-- Upstream --> <!-- Upstream -->

View File

@@ -73,7 +73,7 @@ terraform state show 'module.foo.packet_device.worker'
# Remove registered resources from states. # Remove registered resources from states.
terraform state rm 'oci_core_instance.ampere' terraform state rm 'oci_core_instance.ampere'
terraform state -state 'path/to/file.tfstate' \ terraform state -state 'path/to/file.tfstate' rm \
'module.foo.packet_device.worker' 'tfe_team.robots[1]' 'module.foo.packet_device.worker' 'tfe_team.robots[1]'
# Remove all resources from the current state. # Remove all resources from the current state.
@@ -305,9 +305,7 @@ eval "export $(sed -E 's/([[:graph:]]+)[[:blank:]]*=[[:blank:]]*([[:graph:]]+)/T
- [OpenTofu] - [OpenTofu]
- [Pulumi] - [Pulumi]
## Sources ### Sources
All the references in the [further readings] section, plus the following:
- [`for_each` vs `count`][for_each vs count] - [`for_each` vs `count`][for_each vs count]
- [Azure Provider] - [Azure Provider]