Terraform - Ec2 instance
Terraform is configured using a high-level, expressive configuration syntax to describe the resources that make up your infrastructure. First create the main.tf file Then we see the following main.tf workbook:terraform workbookcode$ pwd /Users/workbookcode/repos/terraform workbook-ltm1:terraform workbookcode$ subl . workbook-ltm1:terraform workbookcode$ pwd /Users/workbookcode/repos/terraform workbook-ltm1:terraform workbookcode$ terraform init There are some problems with the configuration, described below. The Terraform configuration must be valid before initialization so that Terraform can determine which modules and providers need to be installed. Error: Argument or block definition required on main.tf line 13, in resource "aws_instance" "web": An argument or block definition is required here. workbook-ltm1:terraform workbookcode$ terraform init Initializing the backend... Initializing provider plugins... - Checking for available provider plugins... - Downloa...