From fa916db457704e8c7bc6400540766f04dd5048ec Mon Sep 17 00:00:00 2001 From: Brittan DeYoung <32572259+brittandeyoung@users.noreply.github.com> Date: Tue, 23 Apr 2024 16:42:57 -0400 Subject: [PATCH] testdata: Amend full-example/main.tf, add local value with provider function to verify terraform-docs can properly parse Signed-off-by: Brittan DeYoung <32572259+brittandeyoung@users.noreply.github.com> --- terraform/testdata/full-example/main.tf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/terraform/testdata/full-example/main.tf b/terraform/testdata/full-example/main.tf index a05236a..d9946a7 100644 --- a/terraform/testdata/full-example/main.tf +++ b/terraform/testdata/full-example/main.tf @@ -29,5 +29,9 @@ module "foo" { } module "foobar" { - source = "git@github.com:module/path?ref=v7.8.9" + source = "git@github.com:module/path?ref=v7.8.9" +} + +locals { + arn = provider::aws::arn_parse("arn:aws:iam::444455556666:role/example") }