- Terraform version v1.7+
- An existing Azure resource group with lock protection
- Service principal named
terraform
in the above-mentioned resource group with the required roles (by default Contributor
).
How to use the PaaS environment
- Set deployment parameters:
- There exists three predefined deployment files namely
small.sh
, large.sh
and custom.sh
.
- Select and update a file based on the customer requirements.
- Create an Azure container storage to save the Terraform state:
./azure-paas.sh init small.sh
- Deploy the Azure PaaS with the following command:
./azure-paas.sh create small.sh
- Test the PaaS by deploying a two-tier application on it:
./azure-paas.sh test small.sh
- To destroy the PaaS environment, remove the Lock protection then run the following:
./azure-paas.sh delete small.sh
The input variables are described in small.sh
, large.sh
and custom.sh
files.
- Click here to have an overview of the PaaS architecture