Hi, I am trying to enable the enable_nat_gateway and single_nat_gateway options under vpc module but while executing the terraform i am getting the below errors when executing terraform plan
i) An argument named "enable_nat_gateway" is not expected here.
ii) An argument named "single_nat_gateway" is not expected here.
The output of terraform version command is as below
terraform --version
Terraform v1.5.7
on darwin_amd64
- provider Terraform Registry v4.67.0
- provider Terraform Registry v2.4.0
- provider Terraform Registry v4.0.4
The backend providers i am using are
terraform {
required_version = ">= 1.0"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.0"
}
local = {
source = "hashicorp/local"
}
}
Please let me know what is the issue thanks for your time in advance.