Terraform 101
Getting Started With Terraform before you secure it:)
Terraform Workflow
Write | Plan | Apply | ||
---|---|---|---|---|
Terraform Code | Review | Deploy | ||
Creating a Github repo | Adding and reviewing changes | Provision Infrastructure |
First Terraform Code Snippet
provider "aws" {
region = "us-east-1"
}
Provider - The Above code will say fetch a provider, in this case AWS Cloud Service Provider. The word provider is a reserved keyword.
In between the curly braces we have the configuration parameters
{
region = "us-east-1"
}