Skip to content

Latest commit

 

History

History
149 lines (115 loc) · 2.77 KB

File metadata and controls

149 lines (115 loc) · 2.77 KB

azurerm_dev_test_lab

back

Index

Terraform

terraform {
  required_providers {
    azurerm = ">= 2.54.0"
  }
}

top

Example Usage

module "azurerm_dev_test_lab" {
  source = "./modules/azurerm/d/azurerm_dev_test_lab"

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

  timeouts = [{
    read = null
  }]
}

top

Variables

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

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

variable "timeouts" {
  description = "nested block: NestingSingle, min items: 0, max items: 0"
  type = set(object(
    {
      read = string
    }
  ))
  default = []
}

top

Datasource

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

  dynamic "timeouts" {
    for_each = var.timeouts
    content {
      # read - (optional) is a type of string
      read = timeouts.value["read"]
    }
  }

}

top

Outputs

output "artifacts_storage_account_id" {
  description = "returns a string"
  value       = data.azurerm_dev_test_lab.this.artifacts_storage_account_id
}

output "default_premium_storage_account_id" {
  description = "returns a string"
  value       = data.azurerm_dev_test_lab.this.default_premium_storage_account_id
}

output "default_storage_account_id" {
  description = "returns a string"
  value       = data.azurerm_dev_test_lab.this.default_storage_account_id
}

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

output "key_vault_id" {
  description = "returns a string"
  value       = data.azurerm_dev_test_lab.this.key_vault_id
}

output "location" {
  description = "returns a string"
  value       = data.azurerm_dev_test_lab.this.location
}

output "premium_data_disk_storage_account_id" {
  description = "returns a string"
  value       = data.azurerm_dev_test_lab.this.premium_data_disk_storage_account_id
}

output "storage_type" {
  description = "returns a string"
  value       = data.azurerm_dev_test_lab.this.storage_type
}

output "tags" {
  description = "returns a map of string"
  value       = data.azurerm_dev_test_lab.this.tags
}

output "unique_identifier" {
  description = "returns a string"
  value       = data.azurerm_dev_test_lab.this.unique_identifier
}

output "this" {
  value = azurerm_dev_test_lab.this
}

top