Skip to content

Commit

Permalink
Merge pull request #7600 from matt-FFFFFF/matt-FFFFFF-patch-1
Browse files Browse the repository at this point in the history
Remove incorrect validatefunc on azurerm_policy_remediation
  • Loading branch information
tombuildsstuff committed Jul 7, 2020
2 parents 8e5a33c + 5175064 commit 48a6358
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Expand Up @@ -77,8 +77,6 @@ func resourceArmPolicyRemediation() *schema.Resource {
Optional: true,
// TODO: remove this suppression when github issue https://github.com/Azure/azure-rest-api-specs/issues/8353 is addressed
DiffSuppressFunc: suppress.CaseDifference,
// TODO: use the validation function in azurerm_policy_definition when implemented
ValidateFunc: validate.PolicyDefinitionID,
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/policy_remediation.html.markdown
Expand Up @@ -95,7 +95,7 @@ The following arguments are supported:

* `policy_assignment_id` - (Required) The resource ID of the policy assignment that should be remediated.

* `policy_definition_reference_id` - (Optional) The policy definition reference ID of the individual definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.
* `policy_definition_reference_id` - (Optional) The unique ID for the policy definition within the policy set definition that should be remediated. Required when the policy assignment being remediated assigns a policy set definition.

* `location_filters` - (Optional) A list of the resource locations that will be remediated.

Expand Down

0 comments on commit 48a6358

Please sign in to comment.