I'm getting a plan-time failure in version v10.0.1 of the module caused by a for_each using unknown values:
Error: Invalid for_each argument
local.log_arn_chunks is a list of list of string, known only after apply
This happens here:
for_each = {
for idx, chunk in local.log_arn_chunks : idx => chunk if length(chunk) > 0
}
Additionally, the module pins multiple incompatible AWS provider versions, causing:
Failed to query available provider packages: no available releases match the given constraints >=5.49.0 ... <7.0.0
Please update the module to support Terraform 1.6+ and AWS Provider 6.x.