文档

alicloud_config_configuration_recorder

更新时间:
一键部署

Provides a Alicloud Config Configuration Recorder resource. Cloud Config is a specialized service for evaluating resources. Cloud Config tracks configuration changes of your resources and evaluates configuration compliance. Cloud Config can help you evaluate numerous resources and maintain the continuous compliance of your cloud infrastructure. For information about Alicloud Config Configuration Recorder and how to use it, see What is Configuration Recorder.

-> NOTE: Available since v1.99.0.

-> NOTE: The Cloud Config region only support cn-shanghai and ap-southeast-1.

Example Usage

resource "alicloud_config_configuration_recorder" "example" {
  resource_types = [
    "ACS::ECS::Instance",
    "ACS::ECS::Disk"
    # other resource types ...
  ]
}

Argument Reference

The following arguments are supported:

  • enterprise_edition - (Optional, ForceNew) - Whether to use the enterprise version configuration audit. Valid values: true and false. Default value false. For enterprise accounts, We recommend you to use the resource alicloud_config_aggregator.
  • resource_types - (Optional) A list of resource types to be monitored. Resource types that support Cloud Config.
    • If you use an ordinary account, the resource_types supports the update operation after the process of creation is completed.
    • If you use an enterprise account, the resource_types does not support updating.

Attributes Reference

The following attributes are exported:

  • id - This ID of Config Configuration Recorder. Value as alicloud account ID.
  • status - Status of resource monitoring. Values: REGISTRABLE: Not registered, BUILDING: Under construction, REGISTERED: Registered and REBUILDING: Rebuilding.
  • organization_enable_status - Enterprise version configuration audit enabled status. Values: REGISTRABLE: Not enabled, BUILDING: Building and REGISTERED: Enabled.
  • organization_master_id - The ID of the Enterprise management account.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • update - (Defaults to 11 mins) Used when updating the Config Configuration Recorder.

Import

Alicloud Config Configuration Recorder can be imported using the id, e.g.

$ terraform import alicloud_config_configuration_recorder.example 122378463********

  • 本页导读 (0)
文档反馈