Skip to content

Latest commit

 

History

History
91 lines (69 loc) · 1.37 KB

opc_compute_image_list.md

File metadata and controls

91 lines (69 loc) · 1.37 KB

opc_compute_image_list

back

Index

Terraform

terraform {
  required_providers {
    opc = ">= 1.4.1"
  }
}

top

Example Usage

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

Variables

variable "default" {
  description = "(optional)"
  type        = number
  default     = null
}

variable "description" {
  description = "(required)"
  type        = string
}

variable "name" {
  description = "(required)"
  type        = string
}

top

Resource

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

Outputs

output "id" {
  description = "returns a string"
  value       = opc_compute_image_list.this.id
}

output "this" {
  value = opc_compute_image_list.this
}

top