Package card api terraform into reusable and updatable component
Description
In order to provide a paved path/road for front end reporting for all projects, extract card api terraform into a module
Further Details
We will allow the configuration of:
- Min scaling - required
- Max scaling - optional, default to 1
- Rates - default to not set (i.e. using image default)
Explicitly not configurable:
- The image deployed (it should always use latest for now)
- Number of client ids
Task List
- Create repository for module in https://gitlab.developers.cam.ac.uk/uis/devops/infra/terraform
- Ensure terraform module is packaged to terraform registry in gitlab.
- Use latest tag for docker image to deploy.
Acceptance criteria
-
Other Wilson/DevOps services can use -
Exists as a terraform module in separate repository available in terraform registry -
Specific allowed settings in variables listed above.
-
-
Documentation walks user through full process including library usage from: -
Start - bare GCP bootstrap repo -
To finish - can see logs in GCP -
And update procedure
-
Edited by Mike Knee