Views:

Update deployed resources in your Alibaba Cloud account to the latest version using LocalShell.

The Resource Update tab in the Account Settings screen allows you to update the Trend Vision One resources deployed to your compartment. This may be required as support for new features or functions are added to Cloud Accounts. Make sure you have the required permissions to update the account.
Note
Note
The following instructions apply to resources deployed using LocalShell, or to accounts in which are you enabling Agentless Vulnerability & Threat Detection following an initial deployment with CloudShell. To update resources deployed with CloudShell, see Update Alibaba Cloud deployed resources using CloudShell.

Procedure

  1. Sign in to the Trend Vision One console.
  2. Go to Cloud SecurityCloud AccountsAlibaba Cloud.
  3. Click the name of the account you want to update.
  4. In the Account Settings screen, navigate to the Resource Update tab.
    The next step depends on your current deployment method:
    • If you have just enabled Agentless Vulnerability & Threat Detection on an account that was previously deployed using CloudShell, continue with the next step.
    • If you are updating resources on an account that was previously deployed using LocalShell, skip to step 6.
  5. Set up your Alibaba Cloud CLI environment:
    1. Configure the Alibaba CLI profile by copying the command or typing:
      aliyun configure set \
        --profile AkProfile \
        --mode AK \
        --access-key-id <yourAccessKeyID> \
        --access-key-secret <yourAccessKeySecret> \
        --region cn-hangzhou
    2. Configure system environment variables by copying the command or typing:
      export ACCESS_KEY_ID=<access_key_id>
      export ACCESS_KEY_SECRET=<access_key_secret>
    3. Check your current STS identity by copying the command or typing aliyun sts GetCallerIdentity.
  6. Click Download and Review Template to download the Terraform template to your local machine.
  7. Extract the template and go to the directory by typing:
    unzip -o cloud-account-management-terraform-package-{randomNumber}.zip -d cloud-account-management-terraform-package && \
    cd cloud-account-management-terraform-package
  8. Optionally, verify that the Terraform backend is reachable by copying the command or typing aliyun oss ls | grep "vision-one-tf-state-bucket".
  9. Apply the resource update by copying the command or typing:
    rm -rf ~/.terraform.d/plugin-cache/registry.terraform.io/{hashicorp,aliyun}/alicloud*
    bash ./script create_backend
    bash ./script.sh install
  10. In the Trend Vision One console, in the Account Settings screen, click Save Changes.
    The update process might take a few moments to complete. Refresh the Cloud Accounts screen to check the status of your update.