Skip to content

Instantly share code, notes, and snippets.

@ajinkya101
Created June 30, 2021 07:23
Show Gist options
  • Save ajinkya101/10eff28271432e7f1d84e72b12afd058 to your computer and use it in GitHub Desktop.
Save ajinkya101/10eff28271432e7f1d84e72b12afd058 to your computer and use it in GitHub Desktop.
# repos lists the config for specific repos.
repos:
# id can either be an exact repo ID or a regex.
# If using a regex, it must start and end with a slash.
# Repo ID's are of the form {VCS hostname}/{org}/{repo name}, ex.
# github.com/runatlantis/atlantis.
- id: /.*/
# allow_custom_workflows defines whether this repo can define its own
# workflows. If false (default), the repo can only use server-side defined
# workflows.
allow_custom_workflows: true
# Define your custom workflows.
workflows:
default:
plan:
steps:
- init
- plan
# Run infracost to get estimates of cloud resources
- run: /home/atlantis/infracost_atlantis_diff.sh
apply:
steps:
# Again, you must use the $PLANFILE environment variable.
- apply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment