github.com/minamijoyo/terraform@v0.7.8-0.20161029001309-18b3736ba44b/website/source/docs/providers/fastly/d/ip_ranges.html.markdown (about)

     1  ---
     2  layout: "fastly"
     3  page_title: "Fastly: fastly_ip_ranges"
     4  sidebar_current: "docs-fastly-datasource-ip_ranges"
     5  description: |-
     6    Get information on Fastly IP ranges.
     7  ---
     8  
     9  # fastly\_ip_ranges
    10  
    11  Use this data source to get the [IP ranges][1] of Fastly edge nodes.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  data "fastly_ip_ranges" "fastly" {
    17  }
    18  
    19  resource "aws_security_group" "from_fastly" {
    20  
    21    name = "from_fastly"
    22  
    23    ingress {
    24      from_port = "443"
    25      to_port = "443"
    26      protocol = "tcp"
    27      cidr_blocks = [ "${data.fastly_ip_ranges.fastly.cidr_blocks}" ]
    28    }
    29  
    30  }
    31  ```
    32  
    33  ## Attributes Reference
    34  
    35  * `cidr_blocks` - The lexically ordered list of CIDR blocks.
    36  
    37  [1]: https://docs.fastly.com/guides/securing-communications/accessing-fastlys-ip-ranges