This module configures your Terraform organization and workspace.
Authors: David Wright ([email protected]) and Tony Vattahil ([email protected])
To deploy this module, do the following: Install Terraform. (See Install Terraform for a tutorial.)
~/.aws/credentials (Linux & Mac)
[default]
aws_access_key_id=AKIAIOSFODNN7EXAMPLE
aws_secret_access_key=wJalrXUtnSAMPLESECRETKEY
See Guide for more info
Clone the aws-quickstart/terraform-aws-vpc repository.
git clone https://github.com/aws-quickstart/terraform-aws-vpc
Change directory to the root directory.
cd terraform-aws-vpc/
Change to deploy directory
cd deploy
Initialize terraform module
terraform init
Run terraform apply
terraform apply
terraform init -backend-config=/path/to/backend.hcl
Example: backend.hcl
terraform {
backend "remote" {
organization = "your-organization"
workspaces {
name = "your-workspace"
}
}
}