Managing Applications and Infrastructure with Terraform-Deploying Infrastructure with Terraform-(1)Terraform Basics and a Docker Deployment-(8)Introduction to Modules

2018年10月04日


Managing Applications and Infrastructure with Terraform-Deploying Infrastructure with Terraform
1. Terraform Basics and a Docker Deployment
8. Introduction to Modules

In this post, we will build the directory structure to hold the Terraform modules. In the coming posts, we will setup these modules one by one.

~/docker# mkdir image

~/docker# mkdir container

~/docker# cd image/

~/docker/image# touch main.tf variables.tf outputs.tf

~/docker/image# cd ..

~/docker# cd container

~/docker/container# touch main.tf variables.tf outputs.tf

~/docker/container# ls

main.tf  outputs.tf  variables.tf

~/docker/container# cd ../image/

~/docker/image# ls
main.tf  outputs.tf  variables.tf

~/docker/image# cd ..

Category: orchestration Tags: public

Upvote


Downvote