From b356dfd79a215b914bffc4c932cf3d08bf3f89b3 Mon Sep 17 00:00:00 2001 From: Harshit Gupta Date: Tue, 28 Oct 2025 11:06:16 +0530 Subject: [PATCH 1/2] changing documentation --- website/docs/cdktf/python/r/policy_set.html.markdown | 4 +++- website/docs/d/policy_set.html.markdown | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/website/docs/cdktf/python/r/policy_set.html.markdown b/website/docs/cdktf/python/r/policy_set.html.markdown index 522a39568..75f86eefb 100644 --- a/website/docs/cdktf/python/r/policy_set.html.markdown +++ b/website/docs/cdktf/python/r/policy_set.html.markdown @@ -120,7 +120,9 @@ The following arguments are supported: A policy set can only have policies that have the same underlying kind. * `agent_enabled` - (Optional) Whether or not the policy set is run as a policy evaluation within the agent. True by default for all "opa" policy sets. -* `policy_tool_version` - (Optional) The policy tool version to run the evaluation against. +* `policy_tool_version` - (Optional) The policy tool version to run the evaluation against. For both Sentinel and OPA, + leaving this argument unspecified results in selecting the latest available version at the time of creation. + For "opa" policy sets, 'latest' will not be a valid input. * `overridable` - (Optional) Whether or not users can override this policy when it fails during a run. Defaults to `false`. Only valid for OPA policies. * `organization` - (Optional) Name of the organization. If omitted, organization must be defined in the provider config. diff --git a/website/docs/d/policy_set.html.markdown b/website/docs/d/policy_set.html.markdown index 141a6b472..49f6afb72 100644 --- a/website/docs/d/policy_set.html.markdown +++ b/website/docs/d/policy_set.html.markdown @@ -36,7 +36,9 @@ The following arguments are supported: * `global` - Whether or not the policy set applies to all workspaces in the organization. * `kind` - The policy-as-code framework for the policy. Valid values are "sentinel" and "opa". * `agent_enabled` - Whether or not the policy set is run as a policy evaluation within the agent. True by default for all "opa" policy sets. -* `policy_tool_version` - The policy tool version to run the evaluation against. +* `policy_tool_version` - The policy tool version to run the evaluation against. For both Sentinel and OPA, + leaving this argument unspecified results in selecting the latest available version at the time of creation. + For "opa" policy sets, 'latest' will not be a valid input. * `overridable` - Whether users can override this policy when it fails during a run. Only valid for OPA policies. * `workspace_ids` - IDs of the workspaces that use the policy set. * `excluded_workspace_ids` - IDs of the workspaces that do not use the policy set. From 11d954a80ac7bf0c5b7b68b5c39b8683cef97dec Mon Sep 17 00:00:00 2001 From: Harshit Gupta Date: Tue, 28 Oct 2025 11:48:53 +0530 Subject: [PATCH 2/2] adding doc change --- website/docs/r/policy_set.html.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/docs/r/policy_set.html.markdown b/website/docs/r/policy_set.html.markdown index c27881951..b40aa5754 100644 --- a/website/docs/r/policy_set.html.markdown +++ b/website/docs/r/policy_set.html.markdown @@ -87,7 +87,9 @@ The following arguments are supported: A policy set can only have policies that have the same underlying kind. * `agent_enabled` - (Optional) Whether or not the policy set is run as a policy evaluation within the agent. True by default for all "opa" policy sets. -* `policy_tool_version` - (Optional) The policy tool version to run the evaluation against. +* `policy_tool_version` - (Optional) The policy tool version to run the evaluation against. For both Sentinel and OPA, + leaving this argument unspecified results in selecting the latest available version at the time of creation. + For "opa" policy sets, 'latest' will not be a valid input. * `overridable` - (Optional) Whether or not users can override this policy when it fails during a run. Defaults to `false`. Only valid for OPA policies. * `organization` - (Optional) Name of the organization. If omitted, organization must be defined in the provider config.