Skip to content

Commit

Permalink
provider/aws: Increase timeout for (dis)associating IPv6 addr to a su…
Browse files Browse the repository at this point in the history
…bnet (#14401)
  • Loading branch information
radeksimko authored May 11, 2017
1 parent 4060753 commit d00d0bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin/providers/aws/resource_aws_subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func resourceAwsSubnetUpdate(d *schema.ResourceData, meta interface{}) error {
Pending: []string{"disassociating", "associated"},
Target: []string{"disassociated"},
Refresh: SubnetIpv6CidrStateRefreshFunc(conn, d.Id(), d.Get("ipv6_cidr_block_association_id").(string)),
Timeout: 1 * time.Minute,
Timeout: 3 * time.Minute,
}
if _, err := stateConf.WaitForState(); err != nil {
return fmt.Errorf(
Expand Down Expand Up @@ -263,7 +263,7 @@ func resourceAwsSubnetUpdate(d *schema.ResourceData, meta interface{}) error {
Pending: []string{"associating", "disassociated"},
Target: []string{"associated"},
Refresh: SubnetIpv6CidrStateRefreshFunc(conn, d.Id(), *resp.Ipv6CidrBlockAssociation.AssociationId),
Timeout: 1 * time.Minute,
Timeout: 3 * time.Minute,
}
if _, err := stateConf.WaitForState(); err != nil {
return fmt.Errorf(
Expand Down

0 comments on commit d00d0bd

Please sign in to comment.