Skip to content

Latest commit

 

History

History
102 lines (76 loc) · 1.61 KB

File metadata and controls

102 lines (76 loc) · 1.61 KB

gridscale_sshkey

back

Index

Terraform

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

top

Example Usage

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

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

top

Variables

variable "resource_id" {
  description = "(required) - ID of a resource"
  type        = string
}

top

Datasource

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

top

Outputs

output "change_time" {
  description = "returns a string"
  value       = data.gridscale_sshkey.this.change_time
}

output "create_time" {
  description = "returns a string"
  value       = data.gridscale_sshkey.this.create_time
}

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

output "labels" {
  description = "returns a set of string"
  value       = data.gridscale_sshkey.this.labels
}

output "name" {
  description = "returns a string"
  value       = data.gridscale_sshkey.this.name
}

output "sshkey" {
  description = "returns a string"
  value       = data.gridscale_sshkey.this.sshkey
}

output "status" {
  description = "returns a string"
  value       = data.gridscale_sshkey.this.status
}

output "this" {
  value = gridscale_sshkey.this
}

top