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.
NoteThe 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
- Sign in to the Trend Vision One console.
- Go to .
- Click the name of the account you want to update.
- 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.
-
- Set up your Alibaba Cloud CLI environment:
- 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
- Configure system environment variables by copying the command or typing:
export ACCESS_KEY_ID=<access_key_id> export ACCESS_KEY_SECRET=<access_key_secret>
- Check your current STS identity by copying the command or typing
aliyun sts GetCallerIdentity.
- Configure the Alibaba CLI profile by copying the command or typing:
- Click Download and Review Template to download the Terraform template to your local machine.
- 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 - Optionally, verify that the Terraform backend is reachable by copying the command
or typing
aliyun oss ls | grep "vision-one-tf-state-bucket". - 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 - 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.
