Updating Terraform stack for AWS account linked to Clumio Portal
Purpose
This document describes the process of updating an existing Terraform stack for re-deploying AWS resources required for Clumio protection services in the AWS account linked to Clumio Portal.
ย
Prerequisites
To update Terraform, you must have:
- Access to terraform config files directory to manage the Terraform stack.
- IAM Permissions required to deploy the Clumio service.
To see whether your terraform stack is up-to-date:
- Log in to the Clumio portal, select AWS > Environments. The AWS Environments window appears.
- If your stack needs to be updated, an 'Update to latest' icon appears next to your AWS account.ย
Note: The UI may prompt you to update your stack via Terraform, however there are cases when a CloudFormation template based release will be ahead of our provider release which will prompt you to update your stack even though you have the latest Terraform provider based stack. In this scenario, disregard any prompt to update your stack.
Update the stack
Go to the account folder location where you have terraform config files, and enter the following:
Prepare your environment
If you are using environment variables, use the below.
$ export AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID>
$ export AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY>
terraform init -upgrade
terraform plan
terraform apply
ย
When the operation completes, go back to the Clumio portal and check the updated Accounts page.ย
Refer to our terraform documentationย for more information.
Contact [email protected] for clarification or questions.
Updated 3 months ago