https://github.com/svenaelterman/bitnamiwordpressonazureterraform
A deployment of Bitnami's WordPress container image on Azure App Service. Includes Azure Database for MySQL Flexible Server.
https://github.com/svenaelterman/bitnamiwordpressonazureterraform
azure bitnami-containers terraform wordpress
Last synced: 5 months ago
JSON representation
A deployment of Bitnami's WordPress container image on Azure App Service. Includes Azure Database for MySQL Flexible Server.
- Host: GitHub
- URL: https://github.com/svenaelterman/bitnamiwordpressonazureterraform
- Owner: SvenAelterman
- License: mit
- Created: 2025-03-23T23:25:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-17T13:58:59.000Z (about 1 year ago)
- Last Synced: 2025-10-12T23:32:05.121Z (9 months ago)
- Topics: azure, bitnami-containers, terraform, wordpress
- Language: HCL
- Homepage:
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bitnami WordPress On Azure (Terraform)
A deployment of Bitnami's WordPress container image on Azure App Service. Includes Azure Database for MySQL Flexible Server.
## Azure Verified Modules
Where available, this deployment uses the [Azure Verified Modules](https://aka.ms/AVM) for Terraform.
## Quick Deployment Instructions (All-in-One deployment)
This deployment will create fewer resources and create a single WordPress site on a single App Service Plan.
1. Clone the repo locally in a folder of your choice (or to Azure Cloud Shell).
`git clone `
1. Switch to the /src/all-in-one folder.
`cd ./src/all-in-one`
1. Fill out the information necessary for the backend Azure blob storage for Terraform state in the backend.tf file.
1. Create a `tfvars` file.
1. Specify the required variables and any optional variables whose defaults you wish to modify.
1. Run `terraform init`.
1. Run `terraform plan`.
1. Review the planned deployment.
1. Run `terraform apply`.
### Architecture Diagram
The faint icons at the bottom should be considered for production deployments but are not implemented by this IaC.

## Split deployment
A more sophisticated deployment that supports hosting multiple WordPress sites on a single App Service Plan is also provided.
Refer to the [split deployment README](./src/split-deployment/README.md) for more details.
## Trivy support
To check for misconfigurations in the Terraform using [Trivy from Aqua Security](https://www.aquasec.com/products/trivy/), run `trivy fs .` in the root of the repo.