Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Dec 6, 2020
1 parent 2cd0552 commit 43c6942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_sagemaker_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func resourceAwsSagemakerImageCreate(d *schema.ResourceData, meta interface{}) e
input.Tags = keyvaluetags.New(v.(map[string]interface{})).IgnoreAws().SagemakerTags()
}

// for some reason even if the operation is retried the same response is given even though the role is valid. a short sleep before creation solves it.
// for some reason even if the operation is retried the same error response is given even though the role is valid. a short sleep before creation solves it.
time.Sleep(1 * time.Minute)
log.Printf("[DEBUG] sagemaker Image create config: %#v", *input)
err := resource.Retry(1*time.Minute, func() *resource.RetryError {
Expand Down

0 comments on commit 43c6942

Please sign in to comment.