Skip to content

Infractl

It is command line tool for generating and managing MeetPaaS infrastructure as code.

See Infractl usage

Demo

Prerequisite:

Infractl template command

Use infractl template command to generate terraform definition (.tf) of cluster named hfedev01 from a manifest.yaml

infractl template cluster \
  --name hfedev01 \
  --manifest manifest.yaml | grep -v WARN \
  > hfedev01.tf

Local debugging Infractl template command

Pass program arguments to main.go in debug mode.

template cluster --name hfedev01 --manifest manifest.yaml

debug infractl