Giter VIP home page Giter VIP logo

tfstate's Introduction

tfstate

Restful Terraform remote state server

Refer to the Documentation here on how to setup your terraform to talk to a resftful server Currently this only supports saving the State to MongoDB after the Restful server receives it, but you can have more implementations. Look at mongo.go for a Sample implementation and storeage.go is the basic interface that every engine needs to implement.

Make sure your GOPATH and all is set.

Getthing Running

  • Do go get github.com/oogway/tfstate
  • Execute tfstate

You can run tfstate --help to check usage:

piyush:~  λ tfstate --help
Usage of tfstate:
  -config string
    	Location of the yaml config file

Sample Configuration file

mongo:
  host: hello.mlab.com:15194
  database: terraform
  username: transformer
  password: 0hS0sw33t

Default Configuration

mongo:
  host: "127.0.0.1:27017"
  database: terraform

tfstate's People

Contributors

meson10 avatar

Watchers

Amit Singh Sethi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.