back
terraform {
required_providers {
opc = ">= 1.4.1"
}
}
top
module "opc_compute_image_list" {
source = "./modules/opc/r/opc_compute_image_list"
# default - (optional) is a type of number
default = null
# description - (required) is a type of string
description = null
# name - (required) is a type of string
name = null
}
top
variable "default" {
description = "(optional)"
type = number
default = null
}
variable "description" {
description = "(required)"
type = string
}
variable "name" {
description = "(required)"
type = string
}
top
resource "opc_compute_image_list" "this" {
# default - (optional) is a type of number
default = var.default
# description - (required) is a type of string
description = var.description
# name - (required) is a type of string
name = var.name
}
top
output "id" {
description = "returns a string"
value = opc_compute_image_list.this.id
}
output "this" {
value = opc_compute_image_list.this
}
top