» IP Ranges API

IP Ranges provides a list of Terraform Cloud and Enterprise's egress IP ranges. For more information about Terraform Cloud's IP ranges, view our documentation about Terraform Cloud IP Ranges.

» IP Ranges Payload

Name Type Description
sentinel array List of IP ranges in CIDR notation used for outbound requests from Sentinel policies
notifications array List of IP ranges in CIDR notation used for notifications
vcs array List of IP ranges in CIDR notation used for connecting to VCS providers

» Get IP Ranges

GET /meta/ip-ranges

Status Response Reason
200 application/json The request was successful
304 empty body The request was successful; IP ranges were not modified since the specified date in If-Modified-Since header

» Sample Request

curl \
  --request GET \
  -H "If-Modified-Since: Tue, 26 May 2020 15:10:05 GMT" \
  https://app.terraform.io/api/meta/ip-ranges

» Sample Response

{
  "notifications": [
    "10.0.0.1/32",
    "192.168.0.1/32",
    "172.16.0.1/32"
  ],
  "sentinel": [
    "10.0.0.1/32",
    "192.168.0.1/32",
    "172.16.0.1/32"
  ],
  "vcs": [
    "10.0.0.1/32",
    "192.168.0.1/32",
    "172.16.0.1/32"
  ]
}