diff --git a/aws/tagsCloudWatchEvent.go b/aws/tagsCloudWatchEvent.go index e7937a4f460..05767cfbf0e 100644 --- a/aws/tagsCloudWatchEvent.go +++ b/aws/tagsCloudWatchEvent.go @@ -105,12 +105,12 @@ func saveTagsCloudWatchEvents(conn *events.CloudWatchEvents, d *schema.ResourceD ResourceARN: aws.String(arn), }) - if err != nil { + if err != nil && !isAWSErr(err, "UnknownOperationException", "") { return fmt.Errorf("Error retreiving tags for %s: %s", arn, err) } var tagList []*events.Tag - if len(resp.Tags) > 0 { + if resp != nil && len(resp.Tags) > 0 { tagList = resp.Tags }