» 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 - Specifies the name of the Snapshot.

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

» Attributes Reference

» Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 5 minutes) Used when retrieving the Snapshot.