Skip to content

Commit

Permalink
resource/aws_ec2_client_vpn_authorization_rule: Updated ClientVpnAuth…
Browse files Browse the repository at this point in the history
…orizationRuleActiveTimeout and ClientVpnAuthorizationRuleRevokedTimeout to 5 minute timeout (#15037)

Output from acceptance testing:

```
    --- PASS: TestAccAwsEc2ClientVpn_serial/AuthorizationRule_basic (37.06s)
    --- PASS: TestAccAwsEc2ClientVpn_serial/AuthorizationRule_disappears (42.28s)
    --- PASS: TestAccAwsEc2ClientVpn_serial/AuthorizationRule_groups (75.49s)
    --- PASS: TestAccAwsEc2ClientVpn_serial/AuthorizationRule_Subnets (58.36s)
```
  • Loading branch information
connor-tyndall authored Sep 8, 2020
1 parent 2868f97 commit a21578e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws/internal/service/ec2/waiter/waiter.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ func ClientVpnEndpointDeleted(conn *ec2.EC2, id string) (*ec2.ClientVpnEndpoint,
}

const (
ClientVpnAuthorizationRuleActiveTimeout = 1 * time.Minute
ClientVpnAuthorizationRuleActiveTimeout = 5 * time.Minute

ClientVpnAuthorizationRuleRevokedTimeout = 1 * time.Minute
ClientVpnAuthorizationRuleRevokedTimeout = 5 * time.Minute
)

func ClientVpnAuthorizationRuleAuthorized(conn *ec2.EC2, authorizationRuleID string) (*ec2.AuthorizationRule, error) {
Expand Down

0 comments on commit a21578e

Please sign in to comment.