Skip to content

Commit

Permalink
[backport] [docs] Fix to match the new image resource schema (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
karencfv authored Dec 21, 2023
1 parent d128ab3 commit a264f1d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/resources/oxide_image.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ This resource manages images.

## Example Usage

To create an image it's necessary to define its source by setting one of `source_url` or `source_snapshot_id`.

```hcl
resource "oxide_image" "example2" {
project_id = "c1dee930-a8e4-11ed-afa1-0242ac120002"
Expand All @@ -32,12 +30,12 @@ resource "oxide_image" "example2" {
- `description` (String) Description for the image.
- `os` (String) OS image distribution. Example: "alpine".
- `project_id` (String) ID of the project that will contain the image.
- `source_snapshot_id` (String) Snapshot ID of the image source.
- `version` (String) OS image version. Example: "3.16".
- `name` (String) Name of the image.

### Optional

- `source_snapshot_id` (String) Snapshot ID of the image source.
- `timeouts` (Attribute, Optional) (see [below for nested schema](#nestedatt--timeouts))

### Read-Only
Expand Down

0 comments on commit a264f1d

Please sign in to comment.