From 0ae0326df5ba04379a973baf64afacc71938739a Mon Sep 17 00:00:00 2001 From: Pedro Sousa <680496+pedrosousa@users.noreply.github.com> Date: Wed, 11 Dec 2024 17:52:42 +0000 Subject: [PATCH] [Terraform] Link to Snippets page (#18686) --- src/content/docs/rules/snippets/create-terraform.mdx | 2 +- .../terraform/additional-configurations/link-snippets.mdx | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/content/docs/terraform/additional-configurations/link-snippets.mdx diff --git a/src/content/docs/rules/snippets/create-terraform.mdx b/src/content/docs/rules/snippets/create-terraform.mdx index 4212398ef282fc..5a6a46a680151b 100644 --- a/src/content/docs/rules/snippets/create-terraform.mdx +++ b/src/content/docs/rules/snippets/create-terraform.mdx @@ -36,7 +36,7 @@ resource "cloudflare_snippet_rules" "cookie_snippet_rule" { description = "Trigger snippet on specific cookie" snippet_name = "my_test_snippet_1" } - depends_on = ["cloudflare_snippet.my_snippet"] + depends_on = [cloudflare_snippet.my_snippet] } ``` diff --git a/src/content/docs/terraform/additional-configurations/link-snippets.mdx b/src/content/docs/terraform/additional-configurations/link-snippets.mdx new file mode 100644 index 00000000000000..ad195b839a7cc8 --- /dev/null +++ b/src/content/docs/terraform/additional-configurations/link-snippets.mdx @@ -0,0 +1,7 @@ +--- +pcx_content_type: navigation +title: Snippets +external_link: /rules/snippets/create-terraform/ +sidebar: + order: 11 +---