Skip to content

Commit

Permalink
Merge pull request #4943 from tomelliff/error-when-failing-to-get-rds…
Browse files Browse the repository at this point in the history
…-instance-tags

Raise an error when failing to retrieve RDS instance tags
  • Loading branch information
bflad authored Jun 22, 2018
2 parents 33a9a72 + 1f057f7 commit 98c9345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_db_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ func resourceAwsDbInstanceRead(d *schema.ResourceData, meta interface{}) error {
})

if err != nil {
log.Printf("[DEBUG] Error retrieving tags for ARN: %s", arn)
return fmt.Errorf("Error retrieving tags for ARN: %s", arn)
}

var dt []*rds.Tag
Expand Down

0 comments on commit 98c9345

Please sign in to comment.