You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/well-architected-framework/docs/docs/optimize-systems/lifecycle-management/decommission-infrastructure.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ You need to install Graphviz on your system to use the `terraform graph` command
@@ -101,7 +101,7 @@ Implement a phased approach to removing resources instead of doing it all at onc
101
101
102
102
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.
103
103
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.
105
105
106
106
```hcl
107
107
resource "aws_instance" "example" {
@@ -123,7 +123,7 @@ HashiCorp resources:
123
123
- 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.
124
124
- Learn how to [manage resource lifecycles with Terraform](/terraform/tutorials/state/resource-lifecycle).
125
125
-[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).
127
127
128
128
## Verify health of infrastructure and applications
0 commit comments