This repository contains example terraform modules that can be used to quickly deploy Power Platform environments and other Azure resources. The modules are intended to demonstrate some common scenarios where managing Power Platform resources along side Azure, Entra, or other resources can be facilitated with the Terraform Provider for Power Platform. The modules are examples and are not intended to be used in production environments without modification.
This repository contains scripts quickly build out a new tenant and configure it to allow you to deploy and manage Power Platform environments along side other Azure resources. The scripts assume that you are starting with a completely new tenant with an empty Azure subscription. This is a template repository that is intended to let you fork and customize the Power Platform/Azure resources to accommodate your own needs.
- Microsoft Tenant that you have
global admin
oruser administrator
permissions in - Azure subscription in the tenant that you have
owner
permissions in - A fork of this GitHub repository that you have
admin
permissions in
Note
The following tooling is pre-installed in the VS Code Dev Container and it is highly recommended that you use the Dev Container to run the scripts and terraform modules in this repository:
The following terraform providers are used in this repository:
The example terraform modules are intended to be run by GitHub Actions, however there are several steps that need to be run locally by an administrator in order to create the resources the terraform modules need to use. The following steps should be run in order:
- Bootstrap this will create and configure the prerequisites that are needed to run the quickstart examples.
- Try out any of the following Quickstart Examples
- 201-D365-finance-environment
- 102-github-pipeline
- 300-pac-checkov
- 103-demo-tenant
- 301-sap-gateway
- 101-hello-power-platform
Quickstarts use the Power-Platform provider, documentation can be found here.