diff --git a/main.tf b/main.tf index 6cbfafc..78077e9 100644 --- a/main.tf +++ b/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 2.20.0" + version = ">= 2.33.0" } } required_version = ">= 0.13" diff --git a/scripts/convertazopsreference.sh b/scripts/convertazopsreference.sh index 6ed57c1..bcb5b28 100755 --- a/scripts/convertazopsreference.sh +++ b/scripts/convertazopsreference.sh @@ -96,10 +96,11 @@ process_policysetdef() { echo " policy_definition_reference {" echo $dep | jq -r '" policy_definition_id = \"\(.policyDefinitionId)\""' echo $dep | jq -r '" reference_id = \"\(.policyDefinitionReferenceId)\""' - echo " parameters = {" - echo $dep | jq -r '.parameters | to_entries | .[] | " \(.key) = \"\(.value.value)\""' - echo " }" + echo " parameter_values = <