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." }