Git Product home page Git Product logo

terraform-modules-example's Introduction

Terraform Modules Example

This is an example of how to setup Terraform using modules. It also provides another example of how to not use modules. Both of these are for illustration purposes only to show the differences between moduels in Terraform.

The example application builds a Functions application with Application Insights and Azure SQL Server services connected together.

The supporting blog series can be found at https://jwendl.net/2021/01/26/01-terraform-intro/

Installing Terraform

This depends on the system, but here I will show using Windows with Ubuntu 20.04 on WSL

The following commands will install Terraform for your shell.

wget https://releases.hashicorp.com/terraform/0.14.5/terraform_0.14.5_linux_amd64.zip -O terraform.zip
unzip terraform.zip
sudo cp terraform /usr/local/bin
terraform -version

This should show you the version of terraform you are running.

❯ terraform -version
Terraform v0.14.5

Running this example:

terraform init
terraform plan -out tf.plan -var-file values.tfvars
terraform apply tf.plan

terraform-modules-example's People

Contributors

jwendl 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.