2017-04-04 00:24:53 +02:00
|
|
|
---
|
|
|
|
layout: "opc"
|
|
|
|
page_title: "Oracle: opc_compute_image_list"
|
2017-04-07 13:12:15 +02:00
|
|
|
sidebar_current: "docs-opc-resource-image-list-type"
|
2017-04-04 00:24:53 +02:00
|
|
|
description: |-
|
|
|
|
Creates and manages an Image List in an OPC identity domain.
|
|
|
|
---
|
|
|
|
|
|
|
|
# opc\_compute\_image\_list
|
|
|
|
|
|
|
|
The ``opc_compute_image_list`` resource creates and manages an Image List in an OPC identity domain.
|
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
resource "opc_compute_image_list" "test" {
|
|
|
|
name = "imagelist1"
|
|
|
|
description = "This is a description of the Image List"
|
|
|
|
default = 21
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Argument Reference
|
|
|
|
|
|
|
|
The following arguments are supported:
|
|
|
|
|
|
|
|
* `name` - (Required) The name of the Image List.
|
|
|
|
|
|
|
|
* `description` - (Required) A description of the Image List.
|
|
|
|
|
|
|
|
* `default` - (Required) The image list entry to be used, by default, when launching instances using this image list. Defaults to `1`.
|
|
|
|
|
|
|
|
## Import
|
|
|
|
|
|
|
|
Image List's can be imported using the `resource name`, e.g.
|
|
|
|
|
|
|
|
```
|
|
|
|
terraform import opc_compute_image_list.imagelist1 example
|
|
|
|
```
|