» Data Source: azurerm_snapshot

Use this data source to access information about an existing Snapshot.

» Example Usage

data "azurerm_snapshot" "example" {
  name                = "my-snapshot"
  resource_group_name = "my-resource-group"
}

» Argument Reference

  • name - (Required) Specifies the name of the Snapshot.

  • resource_group_name - (Required) Specifies the name of the resource group the Snapshot is located in.

» Attributes Reference