In #33182 the "destination" paramter was made optional, so after defining aws_ec2_network_insights_path resource with only those parameters:
source
destination_ip
destination_port
protocol
the insights path should be created.
Actual Behavior
Insights path is not created without "destination" parameter provided.
Relevant Error/Panic Output Snippet
Error: creating EC2 Network Insights Path: operation error EC2: CreateNetworkInsightsPath, https response error StatusCode: 400, RequestID: c3096b6d-5547-4629-bd38-741f0da76c85, api error MissingParameter: The request must include either the Destination parameter or the FilterAtSource.DestinationAddress parameter. Add the required parameter and retry the request.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.8.x
AWS Provider Version
5.55.0
Affected Resource(s)
aws_ec2_network_insights_path
Expected Behavior
In #33182 the "destination" paramter was made optional, so after defining aws_ec2_network_insights_path resource with only those parameters:
the insights path should be created.
Actual Behavior
Insights path is not created without "destination" parameter provided.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Try to create insights path without optional "destination" parameter.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No