Skip to content

Commit

Permalink
Merge pull request #21 from terraform-providers/b-svc-timeout
Browse files Browse the repository at this point in the history
r/service: Raise LB timeout to 10mins
  • Loading branch information
radeksimko authored Jul 5, 2017
2 parents adfc4d9 + d180154 commit 776c380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/resource_kubernetes_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func resourceKubernetesServiceCreate(d *schema.ResourceData, meta interface{}) e
if out.Spec.Type == api.ServiceTypeLoadBalancer {
log.Printf("[DEBUG] Waiting for load balancer to assign IP/hostname")

err = resource.Retry(5*time.Minute, func() *resource.RetryError {
err = resource.Retry(10*time.Minute, func() *resource.RetryError {
svc, err := conn.CoreV1().Services(out.Namespace).Get(out.Name, meta_v1.GetOptions{})
if err != nil {
log.Printf("[DEBUG] Received error: %#v", err)
Expand Down

0 comments on commit 776c380

Please sign in to comment.