Skip to content

censullo/terraform-boilerplate-deployment-instructions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

terraform-boilerplate-deployment-instructions

Deploying the module

  1. Install Terraform. For instructions and a video tutorial, see Install Terraform.
  2. Sign up and log into Terraform Cloud. (There is a free tier available.)
  3. Configure Terraform Cloud API access. Run the following to generate a Terraform Cloud token from the command line interface:
terraform login
Export TERRAFORM_CONFIG
export TERRAFORM_CONFIG="$HOME/.terraform.d/credentials.tfrc.json"
  1. Configure the AWS Command Line Interface (AWS CLI). For more information, see Configuring the AWS CLI.

  2. If you don't have git installed, install git.

  3. Clone this aws-quickstart/terraform-repository-name repository using the following command:

    git clone https://github.com/aws-quickstart/terraform-repository-name

  4. Change directory to the root repository directory.

    cd /terraform-repository-name/

  5. Change to the deploy directory.

    • cd setup_workspace.
  6. To perform operations locally, do the following:

    a. Initialize the deploy directory. Run terraform init.
    b. Start a Terraform run using the configuration files in your deploy directory. Run terraform apply or terraform apply -var-file="$HOME/.aws/terraform.tfvars".

  7. Change to the deploy directory with cd ../deploy.

  8. Run terraform init.

  9. Run terraform apply or terraform apply -var-file="$HOME/.aws/terraform.tfvars". Terraform apply is run remotely in Terraform Cloud.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published