Skip to content

Commit

Permalink
Merge pull request #4193 from terraform-providers/td-aws_kinesis_fire…
Browse files Browse the repository at this point in the history
…hose_delivery_stream-remove-lint-error

resource/aws_kinesis_firehose_delivery_stream: Remove extraneous variable
  • Loading branch information
bflad authored Apr 18, 2018
2 parents 5833fe2 + 2b1dcc6 commit e7cf8f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions aws/resource_aws_kinesis_firehose_delivery_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -1411,12 +1411,10 @@ func resourceAwsKinesisFirehoseDeliveryStreamCreate(d *schema.ResourceData, meta
}
}

var lastError error
err := resource.Retry(1*time.Minute, func() *resource.RetryError {
_, err := conn.CreateDeliveryStream(createInput)
if err != nil {
log.Printf("[DEBUG] Error creating Firehose Delivery Stream: %s", err)
lastError = err

// Retry for IAM eventual consistency
if isAWSErr(err, firehose.ErrCodeInvalidArgumentException, "is not authorized to perform") {
Expand Down

0 comments on commit e7cf8f0

Please sign in to comment.