microsoft / power-platform-terraform-quickstarts

Examples for using the Power Platform Terraform Provider
https://github.com/microsoft/terraform-provider-power-platform
MIT License
13 stars 0 forks source link

Power Platform Landing Zones Quickstart #32

Open mattdot opened 10 months ago

mattdot commented 10 months ago

As a user, I want an example of setting up Power Platform Landing Zones reference architecture using terraform provider

### Tasks
- [ ] Implement [this script](https://raw.githubusercontent.com/microsoft/industry/main/foundations/powerPlatform/referenceImplementation/auxiliary/powerPlatform/nsPowerPlatform.ps1) as terraform
- [ ] Documentation
- [x] tenant_settings data source
- [ ] https://github.com/microsoft/terraform-provider-power-platform/issues/90
- [ ] https://github.com/microsoft/terraform-provider-power-platform/issues/44
mattdot commented 9 months ago

https://github.com/microsoft/PowerOps/blob/main/src/PowerOps.psm1

mattdot commented 9 months ago

The tenant_settings resource is only read/update. It does not conceptually support create/delete. Need more experience with terraform to figure out the right way to implement features like this that don't conform to terraform expectations. I have some options, am pausing on this PR until I implement some other resources and can return to this.

mawasile commented 7 months ago

Looking at the PS script here is a list of operations that it does (the checked ones are already implemented in terraform provider

The aka.ms/ppnorthstar and this user guide example step by step operations that are done using functions listed above: