Files
opentf/website/source/docs/providers/fastly/d/ip_ranges.html.markdown
George Christou 61277c0dbd website/docs: Run terraform fmt on code examples (#12075)
* docs/vsphere: Fix code block

* docs: Convert `...` to `# ...` to allow `terraform fmt`ing

* docs: Trim trailing whitespace

* docs: First-pass run of `terraform fmt` on code examples
2017-02-19 00:48:50 +02:00

728 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
fastly Fastly: fastly_ip_ranges docs-fastly-datasource-ip_ranges Get information on Fastly IP ranges.

fastly_ip_ranges

Use this data source to get the IP ranges of Fastly edge nodes.

Example Usage

data "fastly_ip_ranges" "fastly" {}

resource "aws_security_group" "from_fastly" {
  name = "from_fastly"

  ingress {
    from_port   = "443"
    to_port     = "443"
    protocol    = "tcp"
    cidr_blocks = ["${data.fastly_ip_ranges.fastly.cidr_blocks}"]
  }
}

Attributes Reference

  • cidr_blocks - The lexically ordered list of CIDR blocks.