github.com/cbroglie/terraform@v0.7.0-rc3.0.20170410193827-735dfc416d46/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 18 ``` 19 resource "triton_fabric" "dmz" { 20 vlan_id = 100 21 name = "dmz" 22 description = "DMZ Network" 23 subnet = "10.60.1.0/24" 24 provision_start_ip = "10.60.1.10" 25 provision_end_ip = "10.60.1.240" 26 gateway = "10.60.1.1" 27 resolvers = ["8.8.8.8", "8.8.4.4"] 28 } 29 ``` 30 31 ## Argument Reference 32 33 The following arguments are supported: 34 35 36 * `name` - (String, Required, Change forces new resource) 37 Network name. 38 39 * `description` - (String, Optional, Change forces new resource) 40 Optional description of network. 41 42 * `subnet` - (String, Required, Change forces new resource) 43 CIDR formatted string describing network. 44 45 * `provision_start_ip` - (String, Required, Change forces new resource) 46 First IP on the network that can be assigned. 47 48 * `provision_end_ip` - (String, Required, Change forces new resource) 49 Last assignable IP on the network. 50 51 * `gateway` - (String, Optional, Change forces new resource) 52 Optional gateway IP. 53 54 * `resolvers` - (List, Optional) 55 Array of IP addresses for resolvers. 56 57 * `routes` - (Map, Optional, Change forces new resource) 58 Map of CIDR block to Gateway IP address. 59 60 * `internet_nat` - (Bool, Optional, Change forces new resource) 61 If a NAT zone is provisioned at Gateway IP address. 62 63 * `vlan_id` - (Int, Required, Change forces new resource) 64 VLAN id the network is on. Number between 0-4095 indicating VLAN ID. 65 66 67 68 69 ## Attribute Reference 70 71 The following attributes are exported: 72 73 * `name` - (String) - Network name. 74 * `public` - (Bool) - Whether or not this is an RFC1918 network. 75 * `fabric` - (Bool) - Whether or not this network is on a fabric. 76 * `description` - (String) - Optional description of network. 77 * `subnet` - (String) - CIDR formatted string describing network. 78 * `provision_start_ip` - (String) - First IP on the network that can be assigned. 79 * `provision_end_ip` - (String) - Last assignable IP on the network. 80 * `gateway` - (String) - Optional gateway IP. 81 * `resolvers` - (List) - Array of IP addresses for resolvers. 82 * `routes` - (Map) - Map of CIDR block to Gateway IP address. 83 * `internet_nat` - (Bool) - If a NAT zone is provisioned at Gateway IP address. 84 * `vlan_id` - (Int) - VLAN id the network is on. Number between 0-4095 indicating VLAN ID. 85 86 87 88