Skip to content

VPC version Error enable_classiclink  #449

Open
@ArslanAhmet

Description

@ArslanAhmet

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?

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