Initialize Terraform.
terraform initApply the configuration. You will be prompted to add the values for the variables.
terrafrom applyAlternatively, you may pass in the values directly by adding the -var flag.
terraform apply -var="name_prefix=your-name" -var="vpc_name=your-vpc-name -var="aws_region=ap-southeast-1"Another way is to include a values.tfvars and then use the -var-file flag.
name_prefix = "your-name"
vpc_name = "your-vpc"
aws_region = "ap-southeast-1"terrafrom apply -var-file="values.tfvars"