kubernetes_persistent_volume_claim_v1

A PersistentVolumeClaim (PVC) is a request for storage by a user. This data source retrieves information about the specified PVC.

Example Usage

data "kubernetes_persistent_volume_claim_v1" "example" {
  metadata {
    name = "terraform-example"
  }
}

Argument Reference

The following arguments are supported:

Nested Blocks

metadata

Arguments

Attributes

spec

Attributes

Import

Persistent Volume Claim can be imported using its namespace and name, e.g.

$ terraform import kubernetes_persistent_volume_claim_v1.example default/example-name