We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 395039f commit f79ba80Copy full SHA for f79ba80
oci/core_instance_resource.go
@@ -10,6 +10,7 @@ import (
10
"log"
11
"strconv"
12
"strings"
13
+ "time"
14
15
"github.com/hashicorp/terraform/helper/customdiff"
16
@@ -544,6 +545,8 @@ func (s *CoreInstanceResourceCrud) Create() error {
544
545
if dedicatedVmHostId, ok := s.D.GetOkExists("dedicated_vm_host_id"); ok {
546
tmp := dedicatedVmHostId.(string)
547
request.DedicatedVmHostId = &tmp
548
+ //@codegen: Adding wait to ensure that the DVH is available
549
+ time.Sleep(1 * time.Minute)
550
}
551
552
if definedTags, ok := s.D.GetOkExists("defined_tags"); ok {
0 commit comments