Skip to content

Latest commit

 

History

History
77 lines (56 loc) · 1.14 KB

gridscale_backup_list.md

File metadata and controls

77 lines (56 loc) · 1.14 KB

gridscale_backup_list

back

Index

Terraform

terraform {
  required_providers {
    gridscale = ">= 1.8.4"
  }
}

top

Example Usage

module "gridscale_backup_list" {
  source = "./modules/gridscale/d/gridscale_backup_list"

  # storage_uuid - (required) is a type of string
  storage_uuid = null
}

top

Variables

variable "storage_uuid" {
  description = "(required) - UUID of the storage"
  type        = string
}

top

Datasource

data "gridscale_backup_list" "this" {
  # storage_uuid - (required) is a type of string
  storage_uuid = var.storage_uuid
}

top

Outputs

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

output "storage_backups" {
  description = "returns a list of object"
  value       = data.gridscale_backup_list.this.storage_backups
}

output "this" {
  value = gridscale_backup_list.this
}

top