Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.19 KB

File metadata and controls

32 lines (24 loc) · 1.19 KB

CFT Templates

This folder contains the library of templates included in the Cloud Foundation toolkit (henceforth, CFT).

Overview

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 file
  • resource.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 file
      • resource.bats - a bats test harness for the test config

Usage

You can use the templates included in the template library:

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.