-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Description
Entirely ignorable.
After aws provider bump to v6.x, I get this warning message:
Warning: Deprecated attribute
on .terraform/modules/eks.vpc_cni_irsa/modules/iam-role-for-service-accounts-eks/main.tf line 9, in locals:
9: region = data.aws_region.current.name
The attribute "name" is deprecated. Refer to the provider documentation for details.
When running a terraform plan
on this config:
module "vpc_cni_irsa" {
source = "terraform-aws-modules/iam/aws//modules/iam-role-for-service-accounts-eks"
version = "~> 5.58.0"
role_name_prefix = "${var.project}-vpc-cni-"
attach_vpc_cni_policy = true
vpc_cni_enable_ipv4 = true
vpc_cni_enable_ipv6 = var.enable_ipv6
oidc_providers = {
main = {
provider_arn = aws_eks_cluster.eks_auto.identity[0].oidc[0].issuer
namespace_service_accounts = ["kube-system:aws-node"]
}
}
tags = var.tags
}
- I have searched the open/closed issues and my issue is not listed.
- I have
rm -rf .terraform/
and re-initialized
Versions
% terraform version
Terraform v1.11.4
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v6.0.0
+ provider registry.terraform.io/hashicorp/kubernetes v2.37.1
+ provider registry.terraform.io/hashicorp/null v3.2.4
+ provider registry.terraform.io/hashicorp/random v3.7.2
Steps to reproduce the behavior:
tf init, plan, apply => error
Expected behavior
Only success messages are displayed.
parthpa, mymasse, daniel-ciaglia, bitchecker and saar-win
Metadata
Metadata
Assignees
Labels
No labels