[Bug]: The efs_file_system data source resource does not follow pagination #26863
Labels
bug
Addresses a defect in current functionality.
good first issue
Call to action for new contributors looking for a place to start. Smaller or straightforward issues.
service/efs
Issues and PRs that pertain to the efs service.
Milestone
Terraform Core Version
latest
AWS Provider Version
latest
Affected Resource(s)
data.aws_efs_file_system
Expected Behavior
When an AWS account has more than 101 EFS resources defined you should be able to source the 101st resource based on its tags.
Actual Behavior
The AWS EFS Describe File Systems endpoint does not support filtering and this provider does so post-response. The endpoint is returning a paginated response which is not being followed.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Have 101 or more EFS resources in the AWS account and reference the oldest resource based on its tags.
Debug Output
No response
Panic Output
No response
Important Factoids
I am fairly certain this is a result of this resource not following pagination provided in the AWS endpoint response
References
This seems to have been similar issues for other services, for example
#4531
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: