A set of infrastructure as code examples specific for Dynamics and Power Platform patterns.
The example cover the creation of an Azure Service Bus, a queue, a function app (along with all the necessary pre-requisites), and assign the function read access to Auzre KeyVault.
Download the terraform CLI from here. Download the Azure CLI from here.
- Resource group.
- KeyVault.
- Azure Service Bus and Queue.
- Blank LogicApp.
- Function with Storage, AppInsight, and access to KeyVault.
- Clone the repository on your machine.
- Update the terraform.tfvars files of the resource you would like to deploy with your prefered values.
- Using the command line enter the desired folder and run the following commands - the plan command display what will change without making any changes so it could be optional. Given that the files are following the naming conventions, there is no need to specify the file names (e.g. terraform.tfvars).
az login
terraform init
terraform plan
terraform apply