andreswebs / terraform-aws-eks-ebs-csi-driver

Deploys the Amazon EBS CSI driver on AWS EKS via Helm
https://registry.terraform.io/modules/andreswebs/eks-ebs-csi-driver/aws/latest
The Unlicense
4 stars 7 forks source link

Errors during test #2

Open Spritekin opened 2 years ago

Spritekin commented 2 years ago

I added this module from the terraform registry as this:

module "aws_ebs_csi_driver" {
  source                = "andreswebs/eks-ebs-csi-driver/aws"
  version               = "1.1.0"
  cluster_name          = module.kubernetes_cluster.cluster_id
  cluster_oidc_provider = module.kubernetes_cluster.oidc_provider_arn
}

When running a terraform validation I got this:

╷
│ Error: Missing required argument
│ 
│   on .terraform/modules/test-application.aws_ebs_csi_driver/main.tf line 32, in module "resources":
│   32: module "resources" {
│ 
│ The argument "cluster_name" is required, but no definition was found.
╵
╷
│ Error: Unsupported argument
│ 
│   on .terraform/modules/test-application.aws_ebs_csi_driver/main.tf line 42, in module "resources":
│   42:   helm_atomic            = var.helm_atomic_creation
│ 
│ An argument named "helm_atomic" is not expected here.
╵
╷
│ Error: Unsupported argument
│ 
│   on .terraform/modules/test-application.aws_ebs_csi_driver/main.tf line 44, in module "resources":
│   44:   helm_wait              = var.helm_wait_for_completion
│ 
│ An argument named "helm_wait" is not expected here.
╵
╷
│ Error: Unsupported argument
│ 
│   on .terraform/modules/test-application.aws_ebs_csi_driver/main.tf line 46, in module "resources":
│   46:   helm_timeout           = var.helm_timeout_seconds
│ 
│ An argument named "helm_timeout" is not expected here.
╵

Seems like there is a problem in your test code.

sblausten commented 1 year ago

I get the same on terraform plan

thereisnotime commented 1 year ago

+1

gmartinezo commented 10 months ago

+2