mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
provider/aws: Bump Create and Delete timeouts to 60 mins on (#11793)
directory_service Fixes: #11781
This commit is contained in:
parent
7310b26896
commit
4964ec402f
@ -336,7 +336,7 @@ func resourceAwsDirectoryServiceDirectoryCreate(d *schema.ResourceData, meta int
|
|||||||
d.Id(), *ds.Stage)
|
d.Id(), *ds.Stage)
|
||||||
return ds, *ds.Stage, nil
|
return ds, *ds.Stage, nil
|
||||||
},
|
},
|
||||||
Timeout: 45 * time.Minute,
|
Timeout: 60 * time.Minute,
|
||||||
}
|
}
|
||||||
if _, err := stateConf.WaitForState(); err != nil {
|
if _, err := stateConf.WaitForState(); err != nil {
|
||||||
return fmt.Errorf(
|
return fmt.Errorf(
|
||||||
@ -477,7 +477,7 @@ func resourceAwsDirectoryServiceDirectoryDelete(d *schema.ResourceData, meta int
|
|||||||
d.Id(), *ds.Stage)
|
d.Id(), *ds.Stage)
|
||||||
return ds, *ds.Stage, nil
|
return ds, *ds.Stage, nil
|
||||||
},
|
},
|
||||||
Timeout: 30 * time.Minute,
|
Timeout: 60 * time.Minute,
|
||||||
}
|
}
|
||||||
if _, err := stateConf.WaitForState(); err != nil {
|
if _, err := stateConf.WaitForState(); err != nil {
|
||||||
return fmt.Errorf(
|
return fmt.Errorf(
|
||||||
|
Loading…
Reference in New Issue
Block a user