Managing Applications and Infrastructure with Terraform-Deploying Infrastructure with Terraform-(2)Terraform for AWS-(3)Our Architecture - What We're Going to Build

2018年10月04日


Managing Applications and Infrastructure with Terraform-Deploying Infrastructure with Terraform
2. Terraform for AWS
3. Our Architecture - What We're Going to Build


ec2-user:~/environment $ mkdir AWS && cd AWS

ec2-user:~/environment/AWS $ mkdir -p {networking,compute,storage}

ec2-user:~/environment/AWS $ touch {networking,compute,storage}/{main.tf,variables.tf,outputs.tf}

ec2-user:~/environment/AWS $ touch compute/userdata.tpl

The directory structure:
ec2-user:~/environment/AWS $ tree

.
├── compute
│   ├── main.tf
│   ├── outputs.tf
│   ├── userdata.tpl
│   └── variables.tf
├── networking
│   ├── main.tf
│   ├── outputs.tf
│   └── variables.tf
└── storage
    ├── main.tf
    ├── outputs.tf
    └── variables.tf

3 directories, 10 files



Category: orchestration Tags: public

Upvote


Downvote