/tfmigrate-atlantis-example

An example for tfmigrate with Atlantis

Primary LanguageShellMIT LicenseMIT

An example for tfmigrate with Atlantis

This repository contains all configurations for running atlantis in local with docker-compose, but most of them are actually not related in tfmigrate. To use tfmigrate with Atlantis:

  1. Install tfmigrate. (atlantis/Dockerfile)
  2. Add a custom workflow for tfmigrate in server side repo config. (atlantis/repos.yaml)
  3. Generate an atlantis.yaml for tfmigrate dynamically in pre workflow hooks. (atlantis/hooks/pre_workflow_hooks.sh)

See atlantis/ directory for more detail.

A demo for tfmigrate with Atlantis is also available at: minamijoyo/tfmigrate-atlantis-demo