-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Versions:
terraform-aws-kosli-reporter: v0.8.2
Terraform: 1.13.1
AWS Terraform provider: 6.13.0
Issue description:
After upgrading the AWS Terraform provider from v5.x.x to v6.x.x, we are seeing a deprecation warning during terraform plan and apply:
Warning: Deprecated attribute
on .terraform/modules/kosli_reporter.reporter_lambda/outputs.tf line 9, in output "lambda_function_arn_static":
9: value = local.create && var.create_function && !var.create_layer ? "arn:aws:lambda:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:function:${var.function_name}" : ""
The attribute "name" is deprecated. Refer to the provider documentation for
details.
According to the Terraform documentation, the name attribute is deprecated and should be replaced with region. ref
Since the Kosli module is a wrapper around the terraform-aws-lambda module, it looks like the issue has already been resolved in releases greater than v8.0.0.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels