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
│ Error: Error in function call
│
│ on .terraform/modules/slack_notifications.lambda/iam.tf line 23, in data "aws_iam_policy_document" "assume_role":
│ 23: identifiers = distinct(concat(slice(list("lambda.amazonaws.com", "edgelambda.amazonaws.com"), 0, var.lambda_at_edge ? 2 : 1), var.trusted_entities))
│
│ Call to function "list" failed: the "list" function was deprecated in
│ Terraform v0.12 and is no longer available; use tolist([ ... ]) syntax to
│ write a literal list.
╵
╷
│ Error: Error in function call
│
│ on .terraform/modules/slack_notifications.lambda/outputs.tf line 98, in output "s3_object":
│ 98: value = map("bucket", local.s3_bucket, "key", local.s3_key, "version_id", local.s3_object_version)
│ ├────────────────
│ │ local.s3_bucket is a string, known only after apply
│ │ local.s3_key will be known only after apply
│ │ local.s3_object_version will be known only after apply
│
│ Call to function "map" failed: the "map" function was deprecated in
│ Terraform v0.12 and is no longer available; use tomap({ ... }) syntax to
│ write a literal map.
|
│ Error: Error in function call
│
│ on .terraform/modules/slack_notifications/main.tf line 29, in locals:
│ 29: resources = [replace("${element(concat(aws_cloudwatch_log_group.lambda[*].arn, list("")), 0)}:*", ":*:*", ":*")]
│
│ Call to function "list" failed: the "list" function was deprecated in
│ Terraform v0.12 and is no longer available; use tolist([ ... ]) syntax to
│ write a literal list.
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Terraform 0.15 (changelog) removed the deprecated functions
list
andmap
which this module uses.Versions
Reproduction
Steps to reproduce the behavior:
terraform init && terraform validate
Code Snippet to Reproduce
Expected behavior
terraform validate
should not fail.Actual behavior
terraform validate
fails withThe text was updated successfully, but these errors were encountered: