Skip to content

Commit eda7f5f

Browse files
Bump google_project timeout (#3784) (#2306)
Signed-off-by: Modular Magician <[email protected]>
1 parent cdd7840 commit eda7f5f

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

.changelog/3784.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
resourcemanager: bumped `google_project` timeout defaults to 10 minutes (from 4)
3+
```

google-beta/resource_google_project.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ func resourceGoogleProject() *schema.Resource {
3333
},
3434

3535
Timeouts: &schema.ResourceTimeout{
36-
Create: schema.DefaultTimeout(4 * time.Minute),
37-
Update: schema.DefaultTimeout(4 * time.Minute),
38-
Read: schema.DefaultTimeout(4 * time.Minute),
39-
Delete: schema.DefaultTimeout(4 * time.Minute),
36+
Create: schema.DefaultTimeout(10 * time.Minute),
37+
Update: schema.DefaultTimeout(10 * time.Minute),
38+
Read: schema.DefaultTimeout(10 * time.Minute),
39+
Delete: schema.DefaultTimeout(10 * time.Minute),
4040
},
4141

4242
MigrateState: resourceGoogleProjectMigrateState,

website/docs/r/google_project.html.markdown

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,15 @@ exported:
108108

109109
* `number` - The numeric identifier of the project.
110110

111+
## Timeouts
112+
113+
This resource provides the following
114+
[Timeouts](/docs/configuration/resources.html#timeouts) configuration options:
115+
116+
- `create` - Default is 10 minutes.
117+
- `update` - Default is 10 minutes.
118+
- `delete` - Default is 10 minutes.
119+
111120
## Import
112121

113122
Projects can be imported using the `project_id`, e.g.

0 commit comments

Comments
 (0)