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

core: introduce "backends" to replace "remote state" (superset) and fix UX #11286

Merged
merged 18 commits into from
Jan 26, 2017

Commits on Jan 26, 2017

  1. Configuration menu
    Copy the full SHA
    3e47bad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b34210 View commit details
    Browse the repository at this point in the history
  3. backend: introduce the backend set of interfaces

    Backends are a mechanism that allow abstracting the behavior of
    Terraform CLI from the actual core. This allows us to slip in special
    behavior such as state loading, remote operations, etc.
    mitchellh committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    8a070dd View commit details
    Browse the repository at this point in the history
  4. backend/local

    The local backend implementation is an implementation of
    backend.Enhanced that recreates all the behavior of the CLI but through
    the backend interface.
    mitchellh committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    397e1b3 View commit details
    Browse the repository at this point in the history
  5. backend/legacy

    This allows using legacy remote state backends with the new backend
    interface.
    mitchellh committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    13c34b1 View commit details
    Browse the repository at this point in the history
  6. backend/remote-state

    This allows migration of the remote state implementations to a richer
    experience including input asking.
    mitchellh committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    1f5d425 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    251e5c6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0a0842a View commit details
    Browse the repository at this point in the history
  9. command: meta.Backend is used for initializing the backend

    This is a complex function that handles all the potential cases that can
    happen with legacy remote state, new configurations, etc.
    mitchellh committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    9654387 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ad7b063 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    523801d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1492c57 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d3633ab View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    31f7cca View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d9bc157 View commit details
    Browse the repository at this point in the history
  16. Update Makefile to run tests 4 packages at a time

    We were running out of RAM on Travis
    mitchellh committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    f4ca79d View commit details
    Browse the repository at this point in the history
  17. install packages for tests

    Running `go test -i` installs the requirements for a package's tests.
    This way when running the tests in batches of 4, we can cut the runtime
    in half be only compiling the dependencies once.
    jbardin authored and mitchellh committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    87253e4 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    09e0727 View commit details
    Browse the repository at this point in the history