Skip to content

Commit 0b60c06

Browse files
authored
Apply suggestions from code review
1 parent 3337c79 commit 0b60c06

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/well-architected-framework/docs/docs/optimize-systems/lifecycle-management/decommission-infrastructure.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ You need to install Graphviz on your system to use the `terraform graph` command
4545

4646
HashiCorp resources:
4747

48-
- [Terraform graph command](/terraform/docs/cli/commands/graph)
48+
- [Terraform graph command](/terraform/cli/commands/graph)
4949

5050
## Create a communication plan
5151

@@ -101,7 +101,7 @@ Implement a phased approach to removing resources instead of doing it all at onc
101101

102102
You can use `terraform plan` to preview the changes that will occur when you remove resources from your configuration. This command helps you understand the impact of your changes before applying them.
103103

104-
You can also set safeguards so you only decommission resources when you are ready. You can use Terraform's `lifecycle` block with `prevent_destroy = true` to prevent accidental deletion of critical resources. The [lifecycle](https://www.terraform.io/docs/language/meta-arguments#lifecycle) setting ensures that you won't destroy resources unless you explicitly remove the `prevent_destroy` attribute.
104+
You can also set safeguards so you only decommission resources when you are ready. You can use Terraform's `lifecycle` block with `prevent_destroy = true` to prevent accidental deletion of critical resources. The [lifecycle](/terraform/language/meta-arguments#lifecycle) setting ensures that you won't destroy resources unless you explicitly remove the `prevent_destroy` attribute.
105105

106106
```hcl
107107
resource "aws_instance" "example" {
@@ -123,7 +123,7 @@ HashiCorp resources:
123123
- Review the [Zero-downtime deployments](/well-architected-framework/define-and-automate-processes/deploy/zero-downtime-deployments) documentation for strategies on how to redirect traffic and disable functions gradually.
124124
- Learn how to [manage resource lifecycles with Terraform](/terraform/tutorials/state/resource-lifecycle).
125125
- [Get up and running with Nomad](/nomad/tutorials/get-started) by learning about scheduling, setting up a cluster, and deploying an example job.
126-
- [Learn the [fundamentals of Consul](/consul/tutorials).
126+
- Learn the [fundamentals of Consul](/consul/tutorials).
127127

128128
## Verify health of infrastructure and applications
129129

0 commit comments

Comments
 (0)