You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data"kubernetes_persistent_volume_claim""this" {
dynamic"metadata" {
for_each=var.metadatacontent {
# annotations - (optional) is a type of map of stringannotations=metadata.value["annotations"]
# generate_name - (optional) is a type of stringgenerate_name=metadata.value["generate_name"]
# labels - (optional) is a type of map of stringlabels=metadata.value["labels"]
# name - (optional) is a type of stringname=metadata.value["name"]
# namespace - (optional) is a type of stringnamespace=metadata.value["namespace"]
}
}
dynamic"spec" {
for_each=var.speccontent {
# storage_class_name - (optional) is a type of stringstorage_class_name=spec.value["storage_class_name"]
# volume_name - (optional) is a type of stringvolume_name=spec.value["volume_name"]
dynamic"selector" {
for_each=spec.value.selectorcontent {
# match_labels - (optional) is a type of map of stringmatch_labels=selector.value["match_labels"]
dynamic"match_expressions" {
for_each=selector.value.match_expressionscontent {
# key - (optional) is a type of stringkey=match_expressions.value["key"]
# operator - (optional) is a type of stringoperator=match_expressions.value["operator"]
# values - (optional) is a type of set of stringvalues=match_expressions.value["values"]
}
}
}
}
}
}
}