Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Power Platform Export to Terraform Utility #42

Open
2 tasks
leighatami opened this issue Aug 24, 2023 · 2 comments
Open
2 tasks

Power Platform Export to Terraform Utility #42

leighatami opened this issue Aug 24, 2023 · 2 comments
Assignees
Labels
tool Tooling or utility user story
Milestone

Comments

@leighatami
Copy link
Contributor

As an IT Pro, I want the ability to export my current Power Platform infrastructure into Terraform modules so that I can manage my existing infrastructure using Terraform.

  • Documentation
  • Implementation:
@leighatami
Copy link
Contributor Author

Example from Azure terraform https://github.com/Azure/aztfexport

@mattdot mattdot changed the title Export to Terraform Power Platform Export to Terraform Utility Aug 24, 2023
@mattdot mattdot added this to the Global Hack Week milestone Aug 30, 2023
@leighatami leighatami modified the milestones: Global Hack Week, GA Nov 7, 2023
@mattdot mattdot added the tool Tooling or utility label Mar 22, 2024
@rpothin
Copy link
Contributor

rpothin commented Jul 17, 2024

Hi @leighatami,

I hope you are doing well.

I just bumped into this issue and thought it could be interesting to share with you something I worked on for DLP policies.

  1. Export of DLP policies: Terraform configuration + GitHub workflow
  2. Conversion of existing DLP policies into Terraform variable definition files (I have made the choice to have 1 Terraform variable definition file per DLP policy but it is definitely something that will depend the preferences of each team): PowerShell code in Polyglot Notebook
  3. Generate state file with existing DLP policy: GitHub workflow

Warning

Step 3 is really important because if skipped it will generate a duplicate of the considered DLP policy.

  1. Management of "converted" DLP policies with Terraform: Terraform configuration + GitHub workflow

I hope you will find these resources interesting and I am available to help if needed.

Have a great day.
Raphael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tool Tooling or utility user story
Projects
None yet
Development

No branches or pull requests

4 participants