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
module"vsphere_vm_storage_policy" {
source="./modules/vsphere/r/vsphere_vm_storage_policy"# description - (optional) is a type of stringdescription=null# name - (required) is a type of stringname=nulltag_rules=[{
include_datastores_with_tags =null
tag_category =null
tags = []
}]
}
resource"vsphere_vm_storage_policy""this" {
# description - (optional) is a type of stringdescription=var.description# name - (required) is a type of stringname=var.namedynamic"tag_rules" {
for_each=var.tag_rulescontent {
# include_datastores_with_tags - (optional) is a type of boolinclude_datastores_with_tags=tag_rules.value["include_datastores_with_tags"]
# tag_category - (required) is a type of stringtag_category=tag_rules.value["tag_category"]
# tags - (required) is a type of list of stringtags=tag_rules.value["tags"]
}
}
}