module eks: Error parsing .terraform/modules/e124779d053ea43ba90722b1e78f4e6f/aws_auth.tf: At 2:14: Unknown token: 2:14 IDENT var.write_aws_auth_config
We use Terraform 0.11. I see the problem is because the module now requires Terraform 0.12.
How can I pin module version to v4.0.2, that would address the issue and allow us time to migrate terraform 0.11 code.
Thanks!
I was able to use ref in git source to pull and v4.0.2 version, like so
module "eks" {
source = "github.com/terraform-aws-modules/terraform-aws-eks?ref=v4.0.2"
problem resolved.
use git ref in source.
Most helpful comment
I was able to use ref in git source to pull and v4.0.2 version, like so
module "eks" { source = "github.com/terraform-aws-modules/terraform-aws-eks?ref=v4.0.2"problem resolved.