Skip to content

Commit

Permalink
r/keyvault: adding a 30s delay + increasing the required counts (#1164)
Browse files Browse the repository at this point in the history
```
$ acctests azurerm TestAccAzureRMKeyVaultSecret_importComplete
=== RUN   TestAccAzureRMKeyVaultSecret_importComplete
go --ver--- PASS: TestAccAzureRMKeyVaultSecret_importComplete (166.51s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm	166.533s
```
  • Loading branch information
tombuildsstuff authored Apr 25, 2018
1 parent 245dce8 commit b90e597
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azurerm/resource_arm_key_vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,9 @@ func resourceArmKeyVaultCreate(d *schema.ResourceData, meta interface{}) error {
Target: []string{"available"},
Refresh: keyVaultRefreshFunc(*vault),
Timeout: 30 * time.Minute,
Delay: 30 * time.Second,
PollInterval: 10 * time.Second,
ContinuousTargetOccurence: 5,
ContinuousTargetOccurence: 10,
}

if _, err := stateConf.WaitForState(); err != nil {
Expand Down

0 comments on commit b90e597

Please sign in to comment.