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

Update aws_route_not_specified_target to handle transit_gateway_id #276

Merged
merged 1 commit into from
May 17, 2019
Merged

Update aws_route_not_specified_target to handle transit_gateway_id #276

merged 1 commit into from
May 17, 2019

Conversation

davewongillies
Copy link
Contributor

Add transit_gateway_id as a valid argument for aws_route. Also clean up the docs and clarify the messages.

@@ -40,7 +41,7 @@ func (d *AwsRouteNotSpecifiedTargetDetector) Detect(resource *schema.Resource, i
issue := &issue.Issue{
Detector: d.Name,
Type: d.IssueType,
Message: "The routing target is not specified, each routing must contain either a gateway_id, egress_only_gateway_id a nat_gateway_id, an instance_id or a vpc_peering_connection_id or a network_interface_id.",
Message: "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, or vpc_peering_connection_id.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@wata727 wata727 merged commit c2515dc into terraform-linters:master May 17, 2019
@wata727
Copy link
Member

wata727 commented May 17, 2019

Thanks @davewongillies!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants