adding example for powerplatform_data_loss_prevention_policies datasource #343
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request primarily involves changes to the documentation and example usage of the
powerplatform_data_loss_prevention_policies
data source in the Power Platform Terraform provider. The changes aim to provide more clarity and guidance for users on how to utilize this data source.The most important changes are:
Documentation updates:
docs/data-sources/data_loss_prevention_policies.md
: An example usage section was added to provide a practical guide on how to use thepowerplatform_data_loss_prevention_policies
data source. This includes the necessary Terraform configuration and provider setup.docs/resources/user.md
: The page title was updated for better readability and the links to additional resources were formatted to appear on separate lines.Example usage updates:
examples/data-sources/powerplatform_data_loss_prevention_policies/data-source.tf
: This new file provides a complete example of how to use thepowerplatform_data_loss_prevention_policies
data source in a Terraform configuration.examples/data-sources/powerplatform_data_loss_prevention_policies/outputs.tf
: This new file shows how to output all the policies fetched by thepowerplatform_data_loss_prevention_policies
data source.