Giter Club home page Giter Club logo

opentofudocker's Introduction

Objective

Run OpenTofu inside a Docker Image with a desired version, we will not use alpine as base image since it not install autocomplete,

The Makefile are configured to receive both AWS or Azure Credentials, if you want to use any other provider implement it as args on Dockerfile and Makefile,

If you not pass any OpenTofu specific version it will get the last one deployed on Github.

You can set AWS/Azure Credentials on .env file following .envexample, you can change also the opentofu version inside .env.

What is OpenTofu?

OpenTofu is a open source fork of terraform since hashicorp has made it a non-open source anymore, you may find more details in https://www.linuxfoundation.org/press/announcing-opentofu
Remember also to check OpenTofu official repository: https://github.com/opentofu/opentofu

using opentofu

There is no difference between the actual version (1.6.x) of terraform and opentofu (1.6.x) but in the future it can happen, but to run opentofu you will use .tf files, and run tofu command instead of terraform command. for example:

before terraform plan -out plan now tofu plan -out plan

And so on...

in the docker image there is an alias to use terraform command if you prefer, so both will work tofu and terraform

Makefile

The main command is make run To check the other commands open makefile archive or type make help

opentofudocker's People

Contributors

marcosjrvrael avatar

Watchers

 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.