Terraform Components
The Terraform configuration sets up essential AWS infrastructure and services to support the deployment of LogScale.
The default Terraform backend configuration is using an S3 bucket for state storage, along with a DynamoDB table for state locking, allowing multiple engineers to safely work on the same infrastructure. Workspace support is also used for the S3 bucket state key so before applying the Terraform configuration, make sure to create and switch to a new Terraform Workspace using these commands
Initialize a working directory containing terraform configuration file.
terraform init
Create a new terraform workspace if it does not exist and switch to your new workspace.
terraform workspace new <workspace_name>
terraform workspace select <workspace_name>
You will also be required to supply the LogScale license key as a Terraform environment variable.
export TF_VAR_humiocluster_license="<LogScale License Key>"