Context:
The web API is a FastAPI application that serves MTCars data, with endpoints for health checks
and data retrieval. It uses API key authentication and is containerized with Docker. The image
is currently built and pushed to GHCR via GitHub Actions.
Locally, I was able to manually deploy the WebAPI using the Azure GUI. We need an
automated, reproducible deployment process using Terraform to provision all necessary
Azure resources and deploy our containerized API.
This will make our deployment process more reliable, version-controlled, and easier
to maintain.
Acceptance Criteria
Context:
The web API is a FastAPI application that serves MTCars data, with endpoints for health checks
and data retrieval. It uses API key authentication and is containerized with Docker. The image
is currently built and pushed to GHCR via GitHub Actions.
Locally, I was able to manually deploy the WebAPI using the Azure GUI. We need an
automated, reproducible deployment process using Terraform to provision all necessary
Azure resources and deploy our containerized API.
This will make our deployment process more reliable, version-controlled, and easier
to maintain.
Acceptance Criteria
Create Terraform configuration files to provision the following Azure resources:
mtcarspublic dummy data here so no risk of problems)pathwaydatarawstorage account)Terraform configuration should include:
Configuration should support:
Documentation:
Testing: