Skip to main content
Version: v0.4

Create a Catalog on GitHub

This tutorial explains how to create a template catalog on GitHub, use the catalog to sync templates, and create services from the templates.

Prerequisites

To follow this tutorial, you will need:

  1. A GitHub organization account
  2. Walrus installed

Create the Catalog

Refer to the GitHub docs for creating a GitHub organization.

Create Template Repositories on GitHub

  1. Log into GitHub, click New repository to create a new repository.
  2. Give the repository a name like my-template.
  3. Check the add a README file option.
  4. Click Create repository. create-template
  5. Follow Terraform module tutorials and Template extension to create a template and commit it to the repository. template-update The created template repository contains a v0.0.1 tagged version with main.tf, variables.tf, outputs.tf and README.md files.
  6. Create other template repositories like my-rds in the same way. catalog-list

Use the Catalog

  1. Go to the Catalog tab under Operations Hub.
  2. Click Add Catalog and fill in the name and source for the catalog, e.g. template-demo. create-catalog
  3. The my-template and my-rds templates should be available after the import task is completed. catalog-list

Create Services with the templates

  1. Go to Application Management and select a project and environment.(If you don't have a project and environment, refer to Create an Environment
  2. Click New Service, choose a template from the catalog in previous step, here we choose my-template, fill in parameters and click Create.
  3. Check the service status until creation is complete. create-service