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"nsxt_policy_ip_address_allocation" {
source="./modules/nsxt/r/nsxt_policy_ip_address_allocation"# allocation_ip - (optional) is a type of stringallocation_ip=null# description - (optional) is a type of stringdescription=null# display_name - (required) is a type of stringdisplay_name=null# nsx_id - (optional) is a type of stringnsx_id=null# pool_path - (required) is a type of stringpool_path=nulltag=[{
scope =null
tag =null
}]
}
variable"allocation_ip" {
description="(optional) - The IP allocated. If unspecified any free IP will be allocated."type=stringdefault=null
}
variable"description" {
description="(optional) - Description for this resource"type=stringdefault=null
}
variable"display_name" {
description="(required) - Display name for this resource"type=string
}
variable"nsx_id" {
description="(optional) - NSX ID for this resource"type=stringdefault=null
}
variable"pool_path" {
description="(required) - The path of the IP Pool for this allocation"type=string
}
variable"tag" {
description="nested block: NestingSet, min items: 0, max items: 0"type=set(object(
{
scope =string
tag =string
}
))
default=[]
}
resource"nsxt_policy_ip_address_allocation""this" {
# allocation_ip - (optional) is a type of stringallocation_ip=var.allocation_ip# description - (optional) is a type of stringdescription=var.description# display_name - (required) is a type of stringdisplay_name=var.display_name# nsx_id - (optional) is a type of stringnsx_id=var.nsx_id# pool_path - (required) is a type of stringpool_path=var.pool_pathdynamic"tag" {
for_each=var.tagcontent {
# scope - (optional) is a type of stringscope=tag.value["scope"]
# tag - (optional) is a type of stringtag=tag.value["tag"]
}
}
}