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.
resource "alicloud_config_configuration_recorder" "example" {
resource_types = [
"ACS::ECS::Instance",
"ACS::ECS::Disk"
# other resource types ...
]
}
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.
resource_types
supports the update operation after the process of creation is completed.resource_types
does not support updating. 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.The timeouts
block allows you to specify timeouts for certain actions:
update
- (Defaults to 11 mins) Used when updating the Config Configuration Recorder.Alicloud Config Configuration Recorder can be imported using the id, e.g.
$ terraform import alicloud_config_configuration_recorder.example 122378463********