cloud_workspace
aws-ia/cloud_workspace/hashicorp
Terraform Cloud Workspace
Terraform Cloud Workspace This module configures your Terraform organization and workspace. Authors: David Wright (dwright@hashicorp.com) and Tony Vattahil (tonynv@amazon.com) Install Terraform To deploy this module, do the following: Install Terraform. (See Install Terraform for a tutorial.) Sign up for Terraform Cloud Sign up and log into Terraform Cloud. (There is a free tier available.) Configure Terraform Cloud API Access Generate terraform cloud token terraform login Export TERRAFORM_CONFIG Variable export TERRAFORM_CONFIG="$HOME/.terraform.d/credentials.tfrc.json" Configure your tfvars file Example tfvars file (replace with AKEY and SKEY) AWS_SECRET_ACCESS_KEY = "***************" AWS_ACCESS_KEY_ID = "*************" AWS_SESSION_TOKEN = "*************" Note: STS-based credentials _are
| Name | Type | Description | Default |
|---|---|---|---|
| AWS_ACCESS_KEY_ID | string | AWS_ACCESS_KEY_ID | required |
| AWS_SECRET_ACCESS_KEY | string | AWS_SECRET_ACCESS_KEY | required |
| tfe_email | string | Enter a valid email address for terraform cloud notification | required |
| tfe_workspace | string | Leave empty for auto creation | required |
| tfe_organization | string | Leave empty for auto creation | required |
| tfe_hostname | string | Defaults to terraform cloud | "app.terraform.io" |
| AWS_SESSION_TOKEN | string | AWS Session Token (optional but highly recommended) | "" |
| working_directory | string | Sets the working directory | "" |
| region | string | terraform region var | "" |
tfm-aws-workspace-id — Terraform cloud workspacetfcloud-org-name — Terraform cloud organization nametfcloud-workspace-name — Terraform cloud workspace name