github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/docs/providers/triton/r/triton_fabric.html.markdown (about) 1 --- 2 layout: "triton" 3 page_title: "Triton: triton_fabric" 4 sidebar_current: "docs-triton-resource-fabric" 5 description: |- 6 The `triton_fabric` resource represents an SSH fabric for a Triton account. 7 --- 8 9 # triton\_fabric 10 11 The `triton_fabric` resource represents an fabric for a Triton account. The fabric is a logical set of interconnected switches. 12 13 ## Example Usages 14 15 ### Create a fabric 16 17 ```hcl 18 resource "triton_fabric" "dmz" { 19 vlan_id = 100 20 name = "dmz" 21 description = "DMZ Network" 22 subnet = "10.60.1.0/24" 23 provision_start_ip = "10.60.1.10" 24 provision_end_ip = "10.60.1.240" 25 gateway = "10.60.1.1" 26 resolvers = ["8.8.8.8", "8.8.4.4"] 27 } 28 ``` 29 30 ## Argument Reference 31 32 The following arguments are supported: 33 34 * `name` - (String, Required, Change forces new resource) 35 Network name. 36 37 * `description` - (String, Optional, Change forces new resource) 38 Optional description of network. 39 40 * `subnet` - (String, Required, Change forces new resource) 41 CIDR formatted string describing network. 42 43 * `provision_start_ip` - (String, Required, Change forces new resource) 44 First IP on the network that can be assigned. 45 46 * `provision_end_ip` - (String, Required, Change forces new resource) 47 Last assignable IP on the network. 48 49 * `gateway` - (String, Optional, Change forces new resource) 50 Optional gateway IP. 51 52 * `resolvers` - (List, Optional) 53 Array of IP addresses for resolvers. 54 55 * `routes` - (Map, Optional, Change forces new resource) 56 Map of CIDR block to Gateway IP address. 57 58 * `internet_nat` - (Bool, Optional, Change forces new resource) 59 If a NAT zone is provisioned at Gateway IP address. 60 61 * `vlan_id` - (Int, Required, Change forces new resource) 62 VLAN id the network is on. Number between 0-4095 indicating VLAN ID. 63 64 ## Attribute Reference 65 66 The following attributes are exported: 67 68 * `name` - (String) - Network name. 69 * `public` - (Bool) - Whether or not this is an RFC1918 network. 70 * `fabric` - (Bool) - Whether or not this network is on a fabric. 71 * `description` - (String) - Optional description of network. 72 * `subnet` - (String) - CIDR formatted string describing network. 73 * `provision_start_ip` - (String) - First IP on the network that can be assigned. 74 * `provision_end_ip` - (String) - Last assignable IP on the network. 75 * `gateway` - (String) - Optional gateway IP. 76 * `resolvers` - (List) - Array of IP addresses for resolvers. 77 * `routes` - (Map) - Map of CIDR block to Gateway IP address. 78 * `internet_nat` - (Bool) - If a NAT zone is provisioned at Gateway IP address. 79 * `vlan_id` - (Int) - VLAN id the network is on. Number between 0-4095 indicating VLAN ID.