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 execution failing when running on terraform 0.15
There’s two issues
First one is not being able to use the aws provider v3
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/aws: locked provider registry.terraform.io/hashicorp/aws 3.31.0 does not match configured version constraint ~> 2.70; must use
│ terraform init -upgrade to allow selection of new versions
╵
When running terraform plan getting an tf 0.12 code incompatibility issue
╷
│ Error: Error in function call
│
│ on .terraform/modules/deployment_bramble.certbot_lambda.certbot_lambda_jenkins/iam.tf line 10, in data "aws_iam_policy_document" "assume_role":
│ 10: identifiers = 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/deployment_bramble.certbot_lambda.certbot_lambda_jenkins/iam.tf line 26, in locals:
│ 26: log_group_arns = slice(list(local.lambda_log_group_arn, local.lambda_edge_log_group_arn), 0, var.lambda_at_edge ? 2 : 1)
│ ├────────────────
│ │ local.lambda_edge_log_group_arn is a string, known only after apply
│ │ local.lambda_log_group_arn is a string, known only after apply
│
│ 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/deployment_bramble.certbot_lambda/locals.tf line 2, in locals:
│ 2: tags = merge(var.tags, map("Application", "certbot-lambda"))
│
│ 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.
╵
Why?
Being able to use the module with terraform 0.15
The text was updated successfully, but these errors were encountered:
What?
Module execution failing when running on terraform 0.15
There’s two issues
Why?
The text was updated successfully, but these errors were encountered: