Coder Social home page Coder Social logo

terraform-version-manage's Introduction

Terraform-version-manage ๐Ÿš€

  • A way to manage Terraform version via docker-compose

Terraform version does not support each other completely. If you develop infrastructure with a number of developers and use version 2, then wrongly use version 3, Terraform Cloud will be directly upgraded the last version from 2 to 3. As a result of this upgrade, Terraform Cloud will be broken for the people who uses version 2.

A way to manage Terraform Version is that running terraform image via docker-compose and docker.

Running terraform via docker-compose

  1. docker-compose run --rm tf init
  2. docker-compose run --rm tf fmt
  3. docker-compose run --rm tf validate // Note: If you get the result is => Success! You configured everything successfully.
  4. docker-compose run --tm tf plan // Warning! Do not commit anything /terraform folder to Github!
  5. docker-compose run --tm tf apply
    // Then, you would get a confirmation message from terraform // Say; yes
  6. The resources you described on main.tf would be provision on AWS.

I got inspried from Youtube videos and Open Source works on Github to create this repo. There is no any license. You can just adopt this scrips if you would like to. It is highly suggested to use terraform via docker-compose.

terraform-version-manage's People

Contributors

omermindivanli avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar  avatar

Forkers

jahid-ahmed-db

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.