github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/cloudstack/r/static_route.html.markdown (about)

     1  ---
     2  layout: "cloudstack"
     3  page_title: "CloudStack: cloudstack_static_route"
     4  sidebar_current: "docs-cloudstack-resource-static-route"
     5  description: |-
     6    Creates a static route.
     7  ---
     8  
     9  # cloudstack_static_route
    10  
    11  Creates a static route for the given private gateway or VPC.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "cloudstack_static_route" "default" {
    17    cidr       = "10.0.0.0/16"
    18    gateway_id = "76f607e3-e8dc-4971-8831-b2a2b0cc4cb4"
    19  }
    20  ```
    21  
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26  * `cidr` - (Required) The CIDR for the static route. Changing this forces
    27      a new resource to be created.
    28  
    29  * `gateway_id` - (Required) The ID of the Private gateway. Changing this forces
    30      a new resource to be created.
    31  
    32  ## Attributes Reference
    33  
    34  The following attributes are exported:
    35  
    36  * `id` - The ID of the static route.