You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got the following warning using vpc module version 4.0.2
│ Warning: Argument is deprecated
│
│ with module.vpc.aws_eip.nat,
│ on .terraform/modules/vpc/main.tf line 1044, in resource "aws_eip""nat":
│ 1044: vpc = true
│
│ use domain attribute instead
│
│ (and 2 more similar warnings elsewhere)
[✅] I have searched the open/closed issues and my issue is not listed.
Versions
Module version [Required]: 4.0.2
Terraform version:
Terraform v1.4.5
on darwin_amd64
│ Warning: Argument is deprecated
│
│ with module.vpc.aws_eip.nat,
│ on .terraform/modules/vpc/main.tf line 1044, in resource "aws_eip""nat":
│ 1044: vpc = true
│
│ use domain attribute instead
│
│ (and 2 more similar warnings elsewhere)
Correct. I get the same error. Just to add more context here: This started to happen when you use the latest hashicorp/aws v5.0.1 provider. It goes away when you use version 4 of aws provider. Please update the module to be compatible with version 5 as well. Thanks!
Warning: Argument is deprecated
│
│ with aws_eip.nat,
│ on main.tf line 1044, in resource "aws_eip" "nat":
│ 1044: vpc = true
│
│ use domain attribute instead
│
│ (and 3 more similar warnings elsewhere)
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Got the following warning using vpc module version 4.0.2
Versions
Module version [Required]: 4.0.2
Terraform version:
Terraform v1.4.5
on darwin_amd64
Provider version(s):
Reproduction Code [Required]
Steps to reproduce the behaviour:
Sample file: vpc.tf
terraform init && terraform plan
Expected behaviour
No deprecated warnings.
Actual behaviour
Other information
There's a note on the Provider's page: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip#vpc
The text was updated successfully, but these errors were encountered: