|
| 1 | +--- |
| 2 | +page_title: "Scaleway: scaleway_apple_silicon" |
| 3 | +description: |- Manages Scaleway Apple silicon M1 as-a-Service. |
| 4 | +--- |
| 5 | + |
| 6 | +# scaleway_apple_silicon |
| 7 | + |
| 8 | +Creates and manages Scaleway Apple silicon M1. For more information, |
| 9 | +see [the documentation](https://www.scaleway.com/en/docs/compute/apple-silicon/concepts). |
| 10 | + |
| 11 | +## Examples |
| 12 | + |
| 13 | +### Basic |
| 14 | + |
| 15 | +```hcl |
| 16 | +resource scaleway_apple_silicon_server server { |
| 17 | + name = "test-m1" |
| 18 | + type = "M1-M" |
| 19 | +} |
| 20 | +``` |
| 21 | + |
| 22 | +## Arguments Reference |
| 23 | + |
| 24 | +The following arguments are supported: |
| 25 | + |
| 26 | +- `type` - (Required) The commercial type of the server. You find all the available types on |
| 27 | + the [pricing page](https://www.scaleway.com/en/pricing/#apple-silicon). Updates to this field will recreate a new |
| 28 | + resource. |
| 29 | + |
| 30 | +- `name` - (Optional) The name of the server. |
| 31 | + |
| 32 | +- `zone` - (Defaults to [provider](../index.md#zone) `zone`) The [zone](../guides/regions_and_zones.md#zones) in which |
| 33 | + the server should be created. |
| 34 | + |
| 35 | +- `project_id` - (Defaults to [provider](../index.md#project_id) `project_id`) The ID of the project the server is |
| 36 | + associated with. |
| 37 | + |
| 38 | +## Attributes Reference |
| 39 | + |
| 40 | +In addition to all above arguments, the following attributes are exported: |
| 41 | + |
| 42 | +- `id` - The ID of the server. |
| 43 | +- `state` - The state of the server. Check the possible values on |
| 44 | + our [sdk](https://github.com/scaleway/scaleway-sdk-go/blob/master/api/applesilicon/v1alpha1/applesilicon_sdk.go#L103). |
| 45 | +- `ip` - IPv4 address of the server (IPv4 address). |
| 46 | +- `vnc_url` - URL of the VNC. |
| 47 | +- `created_at` - The date and time of the creation of the Apple Silicon server. |
| 48 | +- `updated_at` - The date and time of the last update of the Apple Silicon server. |
| 49 | +- `deleted_at` - The minimal date and time on which you can delete this server due to Apple licence. |
| 50 | +- `organization_id` - The organization ID the server is associated with. |
| 51 | + |
| 52 | +## Import |
| 53 | + |
| 54 | +Instance servers can be imported using the `{zone}/{id}`, e.g. |
| 55 | + |
| 56 | +```bash |
| 57 | +$ terraform import scaleway_apple_silicon.server fr-par-1/11111111-1111-1111-1111-111111111111 |
| 58 | +``` |
0 commit comments