1 issue(s) found:
Error: The routing target is not specified, each aws_route must contain either egress_only_gateway_id, gateway_id, instance_id, nat_gateway_id, network_interface_id, transit_gateway_id, vpc_peering_connection_id or vpc_endpoint_id. (aws_route_not_specified_target)
on main.tf line 330:
330: resource "aws_route" "private_tgw_egress" {
Reference: https://github.com/terraform-linters/tflint-ruleset-aws/blob/v0.4.1/docs/rules/aws_route_not_specified_target.md
I think this is wrong because the parameter _transit_gatewayid is specified:
I tried running tflint from VScode or shell but this does not change anything.
Version
Example:
$ tflint --version
TFLint version 0.29.1
+ ruleset.aws (0.4.1-bundled)
$ terraform version
Terraform v1.0.1
Hi,
we have the following code:
This result in the following error:
I think this is wrong because the parameter _transit_gatewayid is specified:
I tried running tflint from VScode or shell but this does not change anything.
Version
Example: