Skip to content

modules are not aligned to new AWS Terraform provider api (>6.0.0)Β #686

Closed
@bitchecker

Description

@bitchecker

Description

With hashicorp/aws v6.0.0 that updated some resources, when I apply already used code, I get the following error:

outputs.tf line 9, in output "lambda_function_arn_static":

   9:   value       = local.create && var.create_function && !var.create_layer ? "arn:${data.aws_partition.current.partition}: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.

This happens on:

  • lambda module
  • iam-role-for-service-account-eks module

Versions

  • Module version [Required]: latest

  • Terraform version: latest

  • Provider version(s): 6.0.0

Additional context

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region#name-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions