From 8e1bfbae5651589f7f34c1dc70606aa3f9c1d81d Mon Sep 17 00:00:00 2001 From: Karl Cardenas Date: Thu, 21 Oct 2021 10:29:23 -0700 Subject: [PATCH] docs: added deprecation message to CLI command intentions overview page --- website/content/commands/intention/index.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/content/commands/intention/index.mdx b/website/content/commands/intention/index.mdx index 41b621db32..e45f60dad7 100644 --- a/website/content/commands/intention/index.mdx +++ b/website/content/commands/intention/index.mdx @@ -17,6 +17,12 @@ Intentions are managed primarily via entries after Consul 1.9. Intentions may also be managed via the [HTTP API](/api/connect/intentions). +~> **Deprecated** - This command is deprecated in Consul 1.9.0 in favor of +using the [config entry CLI command](/commands/config/write). To create an +intention, create or modify a +[`service-intentions`](/docs/connect/config-entries/service-intentions) config +entry for the destination. + ## Usage Usage: `consul intention `