This data source provides the Config Configuration Recorders of the current Alibaba Cloud user.
data "alicloud_config_configuration_recorders" "example" {}
output "list_of_resource_types" {
value = data.alicloud_config_configuration_recorders.this.recorders.0.resource_types
}
The following arguments are supported:
output_file
- (Optional) File name where to save data source results (after running terraform plan
).The following attributes are exported in addition to the arguments listed above:
recorders
- A list of Config Configuration Recorders. Each element contains the following attributes:
id
- The ID of the Config Configuration Recorder. Value as the account_id
.account_id
- The ID of the Alicloud account.organization_enable_status
- Enterprise version configuration audit enabled status.organization_master_id
- The ID of the Enterprise management account.resource_types
- A list of resource types to be monitored.status
- Status of resource monitoring.