provider/aws: Refresh state on Directory Service not found (#6294)
provider/aws: Refresh state on Directory Service not found (#6294)

When a directory service was not found, Terraform was panicking due to
`dir := out.DirectoryDescriptions[0]`. The AWS API doesn't throw an
Error in this case. IT just return s0 results. Therefore, we should
check for 0 results in the return and remove the directory from the
state
ashinohara/terraform-provider-aws,kjmkznr/terraform-provider-aws,Ninir/terraform-provider-aws,kjmkznr/terraform-provider-aws,ashinohara/terraform-provider-aws,Ninir/terraform-provider-aws,nbaztec/terraform-provider-aws,charles-at-geospock/terraform-provider-aws,ClementCunin/terraform-provider-aws,kjmkznr/terraform-provider-aws,kjmkznr/terraform-provider-aws,nbaztec/terraform-provider-aws,ClementCunin/terraform-provider-aws,terraform-providers/terraform-provider-aws,charles-at-geospock/terraform-provider-aws,charles-at-geospock/terraform-provider-aws,Ninir/terraform-provider-aws,ashinohara/terraform-provider-aws,ClementCunin/terraform-provider-aws,nbaztec/terraform-provider-aws,Ninir/terraform-provider-aws,terraform-providers/terraform-provider-aws,terraform-providers/terraform-provider-aws,ClementCunin/terraform-provider-aws,ashinohara/terraform-provider-aws,charles-at-geospock/terraform-provider-aws,nbaztec/terraform-provider-aws,terraform-providers/terraform-provider-aws