From 595646916f8b87538ecb7821e3594884a2149557 Mon Sep 17 00:00:00 2001 From: ritsok Date: Tue, 6 Jul 2021 15:52:16 -0400 Subject: [PATCH] Link refresh tutorial from plan and refresh docs pages --- website/docs/cli/commands/plan.html.md | 2 ++ website/docs/cli/commands/refresh.html.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/website/docs/cli/commands/plan.html.md b/website/docs/cli/commands/plan.html.md index aa20c7447..0affac717 100644 --- a/website/docs/cli/commands/plan.html.md +++ b/website/docs/cli/commands/plan.html.md @@ -124,6 +124,8 @@ earlier versions you must run [`terraform destroy`](./destroy.html). -> **Note:** The `-refresh-only` option is available only in Terraform v0.15.4 and later. +> **Hands-on:** Try the [Use Refresh-Only Mode to Sync Terraform State](https://learn.hashicorp.com/tutorials/terraform/refresh) tutorial on HashiCorp Learn. + ## Planning Options In addition to the planning _modes_ described above, there are also several diff --git a/website/docs/cli/commands/refresh.html.md b/website/docs/cli/commands/refresh.html.md index 986e79567..1b3380413 100644 --- a/website/docs/cli/commands/refresh.html.md +++ b/website/docs/cli/commands/refresh.html.md @@ -9,6 +9,8 @@ description: |- # Command: refresh +> **Hands-on:** Try the [Use Refresh-Only Mode to Sync Terraform State](https://learn.hashicorp.com/tutorials/terraform/refresh) tutorial on HashiCorp Learn. + The `terraform refresh` command reads the current settings from all managed remote objects and updates the Terraform state to match.