You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"aws_config_configuration_aggregator" {
source="./modules/aws/r/aws_config_configuration_aggregator"# name - (required) is a type of stringname=null# tags - (optional) is a type of map of stringtags={}
account_aggregation_source=[{
account_ids = []
all_regions =null
regions = []
}]
organization_aggregation_source=[{
all_regions =null
regions = []
role_arn =null
}]
}
resource"aws_config_configuration_aggregator""this" {
# name - (required) is a type of stringname=var.name# tags - (optional) is a type of map of stringtags=var.tagsdynamic"account_aggregation_source" {
for_each=var.account_aggregation_sourcecontent {
# account_ids - (required) is a type of list of stringaccount_ids=account_aggregation_source.value["account_ids"]
# all_regions - (optional) is a type of boolall_regions=account_aggregation_source.value["all_regions"]
# regions - (optional) is a type of list of stringregions=account_aggregation_source.value["regions"]
}
}
dynamic"organization_aggregation_source" {
for_each=var.organization_aggregation_sourcecontent {
# all_regions - (optional) is a type of boolall_regions=organization_aggregation_source.value["all_regions"]
# regions - (optional) is a type of list of stringregions=organization_aggregation_source.value["regions"]
# role_arn - (required) is a type of stringrole_arn=organization_aggregation_source.value["role_arn"]
}
}
}