This folder contains the library of templates included in the Cloud Foundation toolkit (henceforth, CFT).
Each template is stored in a folder named after the templated cloud resource; e.g., "network", "cloud_router", "healthcheck", etc. Each template folder contains:
- README.md - a textual description of the template's usage, prerequisites, etc.
resource
.py - the Python 2.7 template fileresource
.py.schema - the schema file associated with the template- examples:
resource
.yaml - a sample config file that utilizes the template
- tests:
- integration:
resource
.yaml - a test config fileresource
.bats - a bats test harness for the test config
- integration:
You can use the templates included in the template library:
- Via Google's Deployment Manager / gcloud as described in the Google SDK documentation
- Via the
CFT
, as described in the CFT User Guide
You can use the templates "as is," and/or modify them to suit your needs, as well as create new ones. Instructions and recommendations for template development are in the Template Developer Guide.