Skip to content

Commit

Permalink
Bump google_project timeout (#3784) (#6859)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Jul 27, 2020
1 parent 7ad4151 commit 8c56a9f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .changelog/3784.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resourcemanager: bumped `google_project` timeout defaults to 10 minutes (from 4)
```
8 changes: 4 additions & 4 deletions google/resource_google_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ func resourceGoogleProject() *schema.Resource {
},

Timeouts: &schema.ResourceTimeout{
Create: schema.DefaultTimeout(4 * time.Minute),
Update: schema.DefaultTimeout(4 * time.Minute),
Read: schema.DefaultTimeout(4 * time.Minute),
Delete: schema.DefaultTimeout(4 * time.Minute),
Create: schema.DefaultTimeout(10 * time.Minute),
Update: schema.DefaultTimeout(10 * time.Minute),
Read: schema.DefaultTimeout(10 * time.Minute),
Delete: schema.DefaultTimeout(10 * time.Minute),
},

MigrateState: resourceGoogleProjectMigrateState,
Expand Down
9 changes: 9 additions & 0 deletions website/docs/r/google_project.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,15 @@ exported:

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

## Timeouts

This resource provides the following
[Timeouts](/docs/configuration/resources.html#timeouts) configuration options:

- `create` - Default is 10 minutes.
- `update` - Default is 10 minutes.
- `delete` - Default is 10 minutes.

## Import

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

0 comments on commit 8c56a9f

Please sign in to comment.