Skip to content

Commit

Permalink
adding support for timeouts block
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Perks committed Aug 26, 2021
1 parent 340ccf2 commit fde92dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions aws/resource_aws_ec2_client_vpn_authorization_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ func resourceAwsEc2ClientVpnAuthorizationRule() *schema.Resource {
State: resourceAwsEc2ClientVpnAuthorizationRuleImport,
},

Timeouts: &schema.ResourceTimeout{
Create: schema.DefaultTimeout(waiter.ClientVpnAuthorizationRuleActiveTimeout),
Delete: schema.DefaultTimeout(waiter.ClientVpnAuthorizationRuleRevokedTimeout),
},

Schema: map[string]*schema.Schema{
"client_vpn_endpoint_id": {
Type: schema.TypeString,
Expand Down

0 comments on commit fde92dd

Please sign in to comment.