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_pool_block_subnet" {
source="./modules/nsxt/r/nsxt_policy_ip_pool_block_subnet"# auto_assign_gateway - (optional) is a type of boolauto_assign_gateway=null# block_path - (required) is a type of stringblock_path=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=null# size - (required) is a type of numbersize=nulltag=[{
scope =null
tag =null
}]
}
variable"auto_assign_gateway" {
description="(optional) - If true, the first IP in the range will be reserved for gateway"type=booldefault=null
}
variable"block_path" {
description="(required) - Policy path to the IP Block"type=string
}
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) - Policy path to the IP Pool for this Subnet"type=string
}
variable"size" {
description="(required) - Number of addresses"type=number
}
variable"tag" {
description="nested block: NestingSet, min items: 0, max items: 0"type=set(object(
{
scope =string
tag =string
}
))
default=[]
}
resource"nsxt_policy_ip_pool_block_subnet""this" {
# auto_assign_gateway - (optional) is a type of boolauto_assign_gateway=var.auto_assign_gateway# block_path - (required) is a type of stringblock_path=var.block_path# 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_path# size - (required) is a type of numbersize=var.sizedynamic"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"]
}
}
}