Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue of incompatibility of vpc_module and aws_provider. #242

Open
wallhided opened this issue Jun 23, 2023 · 1 comment
Open

Fix issue of incompatibility of vpc_module and aws_provider. #242

wallhided opened this issue Jun 23, 2023 · 1 comment
Assignees
Labels
bug Something isn't working issue sak-argocd

Comments

@wallhided
Copy link
Contributor

wallhided commented Jun 23, 2023

Describe the bug
During execution "terraform apply" in examples/argocd we receive an error

 Warning: Argument is deprecated
│
│   with module.vpc.aws_eip.nat,
│   on .terraform/modules/vpc/main.tf line 929, in resource "aws_eip" "nat":
│  929:   vpc = true
│
│ use domain attribute instead
╵
╷
│ Error: Unsupported argument
│
│   on .terraform/modules/vpc/main.tf line 36, in resource "aws_vpc" "this":
│   36:   enable_classiclink               = var.enable_classiclink
│
│ An argument named "enable_classiclink" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│   on .terraform/modules/vpc/main.tf line 37, in resource "aws_vpc" "this":
│   37:   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/main.tf line 1153, in resource "aws_default_vpc" "this":
│ 1153:   enable_classiclink   = var.default_vpc_enable_classiclink
│
│ An argument named "enable_classiclink" is not expected here.

Use version
Terraform v1.3.7
on darwin_arm64

terraform aws provider == 5.5.0

To Reproduce
Steps to reproduce the behavior:

  1. Go to examples/argocd
  2. Execute terraform init and terraform apply

Additional context
The problem happened because of deprecation of classiclink in aws terraform provider version 5.0.0.
The closest working version is 4.67.0, by using such version - problem disappears.

@keywordlabeler keywordlabeler bot added bug Something isn't working issue sak-argocd labels Jun 23, 2023
@wallhided
Copy link
Contributor Author

The problem is actual for all folders under examples/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working issue sak-argocd
Projects
None yet
Development

No branches or pull requests

1 participant