From 6ac2353547b3a851f1bc44e2ba0eb992f7d961a9 Mon Sep 17 00:00:00 2001 From: Matthias Theuermann Date: Thu, 20 Jun 2024 15:57:03 +0200 Subject: [PATCH] fix: linter Signed-off-by: Matthias Theuermann --- docs/data-sources/active_policy.md | 3 ++- docs/data-sources/policy.md | 5 +++-- examples/data-sources/mondoo_active_policy/data-source.tf | 3 ++- examples/data-sources/mondoo_policy/data-source.tf | 5 +++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/data-sources/active_policy.md b/docs/data-sources/active_policy.md index 796d7c0..858d07f 100644 --- a/docs/data-sources/active_policy.md +++ b/docs/data-sources/active_policy.md @@ -18,7 +18,8 @@ data "mondoo_active_policy" "policy" { } output "policies_mrn" { - value = data.mondoo_active_policy.policy.policies.*.policy_mrn + value = data.mondoo_active_policy.policy.policies.*.policy_mrn + description = "The MRN of the policies in the space" } ``` diff --git a/docs/data-sources/policy.md b/docs/data-sources/policy.md index afdd3aa..4e3a758 100644 --- a/docs/data-sources/policy.md +++ b/docs/data-sources/policy.md @@ -19,8 +19,9 @@ data "mondoo_policy" "policy" { assigned_only = true } -output "policies" { - value = data.mondoo_policy.policy.policies.*.policy_mrn +output "policies_mrn" { + value = data.mondoo_policy.policy.policies.*.policy_mrn + description = "The MRN of the policies in the space according to the filter criteria." } ``` diff --git a/examples/data-sources/mondoo_active_policy/data-source.tf b/examples/data-sources/mondoo_active_policy/data-source.tf index f05c495..2bd6dcc 100644 --- a/examples/data-sources/mondoo_active_policy/data-source.tf +++ b/examples/data-sources/mondoo_active_policy/data-source.tf @@ -3,5 +3,6 @@ data "mondoo_active_policy" "policy" { } output "policies_mrn" { - value = data.mondoo_active_policy.policy.policies.*.policy_mrn + value = data.mondoo_active_policy.policy.policies.*.policy_mrn + description = "The MRN of the policies in the space" } diff --git a/examples/data-sources/mondoo_policy/data-source.tf b/examples/data-sources/mondoo_policy/data-source.tf index 71c12aa..1ca14cd 100644 --- a/examples/data-sources/mondoo_policy/data-source.tf +++ b/examples/data-sources/mondoo_policy/data-source.tf @@ -4,6 +4,7 @@ data "mondoo_policy" "policy" { assigned_only = true } -output "policies" { - value = data.mondoo_policy.policy.policies.*.policy_mrn +output "policies_mrn" { + value = data.mondoo_policy.policy.policies.*.policy_mrn + description = "The MRN of the policies in the space according to the filter criteria." }