|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "kernel_browser_pool Resource - Kernel" |
| 4 | +subcategory: "" |
| 5 | +description: |- |
| 6 | + Kernel browser pool durable configuration. |
| 7 | +--- |
| 8 | + |
| 9 | +# kernel_browser_pool (Resource) |
| 10 | + |
| 11 | +Kernel browser pool durable configuration. |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | +<!-- schema generated by tfplugindocs --> |
| 16 | +## Schema |
| 17 | + |
| 18 | +### Required |
| 19 | + |
| 20 | +- `size` (Number) Number of browsers to maintain in the pool. |
| 21 | + |
| 22 | +### Optional |
| 23 | + |
| 24 | +- `chrome_policy` (String) JSON object of Chrome enterprise policy overrides. Stored as written; key order and whitespace are ignored when detecting changes. |
| 25 | +- `extension_ids` (List of String) Ordered extension IDs to load into browsers created by this pool. |
| 26 | +- `fill_rate_per_minute` (Number) Percentage of the pool to fill per minute. |
| 27 | +- `headless` (Boolean) Launch browsers using a headless image. |
| 28 | +- `kiosk_mode` (Boolean) Launch browsers in kiosk mode. |
| 29 | +- `name` (String) Optional browser pool name. Must be unique within the project. |
| 30 | +- `profile_id` (String) Optional profile ID to load for browsers created by this pool. |
| 31 | +- `project_id` (String) Project this browser pool belongs to. Defaults to the provider `project_id` when unset; when neither is set, the API key's project binding determines the project. Once created the pool keeps its project, and changing this attribute replaces the pool. |
| 32 | +- `proxy_id` (String) Optional proxy ID to use for browsers created by this pool. |
| 33 | +- `start_url` (String) Optional URL to navigate to when a browser is warmed into the pool. |
| 34 | +- `stealth` (Boolean) Launch browsers in stealth mode. |
| 35 | +- `timeout_seconds` (Number) Default idle timeout in seconds for acquired browsers. |
| 36 | +- `viewport` (Attributes) Optional browser viewport. (see [below for nested schema](#nestedatt--viewport)) |
| 37 | + |
| 38 | +### Read-Only |
| 39 | + |
| 40 | +- `id` (String) Unique browser pool identifier. |
| 41 | + |
| 42 | +<a id="nestedatt--viewport"></a> |
| 43 | +### Nested Schema for `viewport` |
| 44 | + |
| 45 | +Required: |
| 46 | + |
| 47 | +- `height` (Number) Browser window height in pixels. |
| 48 | +- `width` (Number) Browser window width in pixels. |
| 49 | + |
| 50 | +Optional: |
| 51 | + |
| 52 | +- `refresh_rate` (Number) Optional display refresh rate in Hz. |
| 53 | + |
| 54 | +## Import |
| 55 | + |
| 56 | +Import is supported using the following syntax: |
| 57 | + |
| 58 | +The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example: |
| 59 | + |
| 60 | +```shell |
| 61 | +# The bare form resolves the project like create: the provider default, |
| 62 | +# else the API key's binding. |
| 63 | +terraform import kernel_browser_pool.example <browser-pool-id> |
| 64 | + |
| 65 | +# The project-qualified form imports a pool from a specific project. |
| 66 | +terraform import kernel_browser_pool.example <project-id>/<browser-pool-id> |
| 67 | +``` |
0 commit comments