Skip to content

Latest commit

 

History

History
82 lines (60 loc) · 1.18 KB

ecl_baremetal_keypair_v2.md

File metadata and controls

82 lines (60 loc) · 1.18 KB

ecl_baremetal_keypair_v2

back

Index

Terraform

terraform {
  required_providers {
    ecl = ">= 2.0.0"
  }
}

top

Example Usage

module "ecl_baremetal_keypair_v2" {
  source = "./modules/ecl/d/ecl_baremetal_keypair_v2"

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

top

Variables

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

top

Datasource

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

top

Outputs

output "fingerprint" {
  description = "returns a string"
  value       = data.ecl_baremetal_keypair_v2.this.fingerprint
}

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

output "public_key" {
  description = "returns a string"
  value       = data.ecl_baremetal_keypair_v2.this.public_key
}

output "this" {
  value = ecl_baremetal_keypair_v2.this
}

top