github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/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  ```hcl
    16  data "fastly_ip_ranges" "fastly" {}
    17  
    18  resource "aws_security_group" "from_fastly" {
    19    name = "from_fastly"
    20  
    21    ingress {
    22      from_port   = "443"
    23      to_port     = "443"
    24      protocol    = "tcp"
    25      cidr_blocks = ["${data.fastly_ip_ranges.fastly.cidr_blocks}"]
    26    }
    27  }
    28  ```
    29  
    30  ## Attributes Reference
    31  
    32  * `cidr_blocks` - The lexically ordered list of CIDR blocks.
    33  
    34  [1]: https://docs.fastly.com/guides/securing-communications/accessing-fastlys-ip-ranges