Skip to content

Latest commit

 

History

History
82 lines (60 loc) · 1.33 KB

File metadata and controls

82 lines (60 loc) · 1.33 KB

gridscale_object_storage_accesskey

back

Index

Terraform

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

top

Example Usage

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

  # 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_object_storage_accesskey" "this" {
  # resource_id - (required) is a type of string
  resource_id = var.resource_id
}

top

Outputs

output "access_key" {
  description = "returns a string"
  value       = data.gridscale_object_storage_accesskey.this.access_key
}

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

output "secret_key" {
  description = "returns a string"
  value       = data.gridscale_object_storage_accesskey.this.secret_key
}

output "this" {
  value = gridscale_object_storage_accesskey.this
}

top