Description
I got errors related to the version of the VPC module according to my understanding of issue.
When I used as source below:
github.com/ManagedKube/kubernetes-ops//terraform-modules/aws/vpc?ref=v2.0.85
I got below errors
Error: Unsupported argument
│
│ on .terraform/modules/vpc.vpc/main.tf line 32, in resource "aws_vpc" "this":
│ 32: enable_classiclink = var.enable_classiclink
│
│ An argument named "enable_classiclink" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on .terraform/modules/vpc.vpc/main.tf line 33, in resource "aws_vpc" "this":
│ 33: enable_classiclink_dns_support = var.enable_classiclink_dns_support
│
│ An argument named "enable_classiclink_dns_support" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on .terraform/modules/vpc.vpc/main.tf line 1315, in resource "aws_default_vpc" "this":
│ 1315: enable_classiclink = var.default_vpc_enable_classiclink
│
│ An argument named "enable_classiclink" is not expected here.
╵
Operation failed: failed running terraform plan (exit 1)
According to documentation enable_classiclink is removed with terraform VPC version of 5.0.0 but kubernetes-ops version is still using "3.7.0"
source = "terraform-aws-modules/vpc/aws"
version = "3.7.0"
Is there a need for upgrade?