Alibaba Cloud supports forced tagging through Cloud Config, which provides managed rules to detect missing tags and add a custom tag. With Cloud Config, you can customize rules to implement your own workflow.

You can configure a correction template for a rule when you create or modify the rule. Modifying a template is a Logic Composer workflow. When the resource configuration is not in compliance, you can quickly run the template automatically or manually to modify the resource configuration.

During the execution of the modified template, the Logic Composer service modifies the resources on your behalf. For Logic Composer, see What is Logic Composer?.

When you create or modify a rule, you can set a correction setting. You can also skip the correction setting and configure only the rule. Follow these rules:
  • Implement correction settings
    • If you set Correction Method to Automatic Execution or Manual Execution, you must select a correction template, follow the prompts to complete the authorization, fill in the desired value of resource properties, and complete the correction settings.
    • If you set Correction Method to Automatic Execution or Manual Execution, you must select a correction template, follow the prompts to complete the authorization, fill in the desired value of resource properties, and complete the correction settings. Then, you can still choose Disable Correction to save the correction settings but not implement the correction. If you want to remedy a rule, you can just select a correction method.
  • Do not implement correction settings

    If you set Correction Method to Disable Correction, you can skip the correction settings.

The differences between automatic correction and manual correction are as follows:
  • If you select Automatic Execution, when the resource bound to the rule is judged as Non-compliant, the resource will be automatically remedied.
  • If you select Manual Execution, when the resource bound to the rule is judged as Non-compliant, the resource will not be automatically remedie. You can perform the correction manually at any time on the Correction Details page of the rule.

Related functions

The following table lists the functions related to correction settings.
Function Description
Set automatic correction When you create a rule, you can bind the correction template to it and set it to execute automatically. If the resource configuration is not in compliance, the template is automatically executed to correct the resource configuration.
Set manual correction When you create a rule, you can bind a correction template to the rule and set the correction template to manual execution. If the resource configuration is invalid, you can manually execute the template to correct the resource configuration.
Delete correction settings When you need to delete all the correction settings and revoke authorization, you can delete the correction settings directly.