data aws_db_cluster_snapshot can return unavailble snapshot #16266
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/rds
Issues and PRs that pertain to the rds service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Community Note
Description
When configured per the manual: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/db_cluster_snapshot
and retrieving:
most_recent = true
The data source will sometimes return an in-progress snapshot, which is not available.
It should also accept a parameter:
available = true
orstatus = available
or similar which would filter out in-progress or
status: copying
snapshots.New or Affected Resource(s)
Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: