Update a GCP Terraform for your Workspace
Workspace updates will be released by e6data to provide new features, improvements, optimization, and bug fixes.
How to Apply Updates
Obtain the latest Terraform files from the
e6x-labs/terraform
repo from Github.Navigate to the directory containing the Terraform files. It is essential to be in the correct directory for the Terraform commands to execute successfully.
Configure the
terraform.tfvars
&provider.tf
files, to match the same details filled out during the initial Workspace installation.Initialize Terraform:
terraform init
Generate a Terraform plan and save it to a file (e.g.,
e6.plan
):terraform plan -var-file="terraform.tfvars" --out="e6.plan"
The
-var-file
flag specifies the input variable file (terraform.tfvars
) that contains the necessary configuration values for the deployment.Review the generated plan.
Apply the changes using the generated plan file:
terraform apply "e6.plan"
This command applies the changes specified in the plan file (e6.plan) to deploy the e6data workspace in your environment.
Make note of the values returned by the script.
Navigate to Workspaces in the e6data Console
Click the name of the Workspace being updated
Click Update Workspace
Enter the new values returned in step 8.
Click Update
Last updated