Add MariaDB CRUD Terraform stand
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# MariaDB CRUD test stand
|
||||
|
||||
This Terraform root manages one MariaDB cluster, the `maria` database, three CRUD apps, and an HTTP readiness check.
|
||||
|
||||
The Lucee, Flask, and Node.js apps share the `crud_items` table. Their source repositories are the corresponding repositories under `terraform/` on Gitea. The HTTP service uses the image `naeel/mariadb-check:0.1`; build and publish that image before applying this configuration.
|
||||
|
||||
## Configuration
|
||||
|
||||
`terraform.tfvars` contains the Nubes API token and the resource realm. It is ignored by Git. The example file contains no credentials.
|
||||
|
||||
## Commands
|
||||
|
||||
```sh
|
||||
terraform init
|
||||
terraform validate
|
||||
terraform plan
|
||||
```
|
||||
|
||||
Review the plan before applying it. The database is a managed resource and may be deleted by Terraform destroy.
|
||||
Reference in New Issue
Block a user