Add validation to targets for aws_route
#14995
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
Description
The
aws_route
resource allows practitioners to incorrectly add more than one target type, when only one can be used.tflint
has added a check to prevent this, but we should implement it in the provider.Use
ExactlyOneOf
, since one of the targets is required.New or Affected Resource(s)
The text was updated successfully, but these errors were encountered: