Skip to content

An introduction workshop to working with and building remote Terraform Modules

Notifications You must be signed in to change notification settings

devops-workshops/tf-remote-modules-intro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to using Terraform Remote Modules

By [Amanda Collins](author contact) and [Erin Atkinson](author contact)

far away shot of cliffs with people on a plain with a double sun in the distance

Goals of this workshop

Understanding of:

  • Types of remote modules
  • Ways to invoke remote modules
  • How to build a remote module
  • Architecture considerations for building remote modules

Prerequisites

  • Understanding of Terraform basics
  • tfenv/terraform
  • Remote Git account (GitHub, GitLab, BitBucket, etc.)

MacOs

brew install tfenv
cd workshop
tfenv install

Linux/Windows

Check out tfenv into any path (here is ${HOME}/.tfenv)

git clone https://github.com/tfutils/tfenv.git ~/.tfenv

Add ~/.tfenv/bin to your $PATH any way you like

echo 'export PATH="$HOME/.tfenv/bin:$PATH"' >> ~/.bash_profile

OR you can make symlinks for tfenv/bin/* scripts into a path that is already added to your $PATH (e.g. /usr/local/bin) OSX/Linux Only!

ln -s ~/.tfenv/bin/* /usr/local/bin

On Ubuntu/Debian touching /usr/local/bin might require sudo access, but you can create ${HOME}/bin or ${HOME}/.local/bin and on next login it will get added to the session $PATH or by running . ${HOME}/.profile it will get added to the current shell session's $PATH.

mkdir -p ~/.local/bin/
. ~/.profile
ln -s ~/.tfenv/bin/* ~/.local/bin
which tfenv

Getting started

Link to rest of workshop

About

An introduction workshop to working with and building remote Terraform Modules

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published