Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plugin cache. Don't run workspace if unneeded. #82

Merged
merged 1 commit into from
Mar 20, 2018
Merged

Commits on Mar 20, 2018

  1. Add plugin cache. Don't run workspace if unneeded.

    - run terraform with TF_PLUGIN_CACHE_DIR set so that terraform init will
    be faster.
    - check which workspace we're in and don't switch unless we need to.
    - run terraform with TF_IN_AUTOMATION set so the plan output doesn't
    have instructions that don't make sense. Ex.
    ```
    This plan was saved to: /tmp/atlantis/data/repos/lkysow/atlantis-example/3/default/default.tfplan
    
    To perform exactly these actions, run the following command to apply:
        terraform apply "/tmp/atlantis/data/repos/lkysow/atlantis-example/3/default/default.tfplan"
    ```
    lkysow committed Mar 20, 2018
    Configuration menu
    Copy the full SHA
    b507bd0 View commit details
    Browse the repository at this point in the history