Add err object to return when err is not nil
Add err object to return when err is not nil

Ninir/terraform-provider-aws,kjmkznr/terraform-provider-aws,terraform-providers/terraform-provider-aws,terraform-providers/terraform-provider-aws,terraform-providers/terraform-provider-aws,kjmkznr/terraform-provider-aws,kjmkznr/terraform-provider-aws,Ninir/terraform-provider-aws,kjmkznr/terraform-provider-aws,Ninir/terraform-provider-aws,Ninir/terraform-provider-aws,terraform-providers/terraform-provider-aws