fastly_services

Use this data source to get the list of the Fastly services.

Example Usage

data "fastly_services" "services" {}

output "fastly_services_all" {
  value = data.fastly_services.services
}

output "fastly_services_filtered" {
  # get the service with the name "Example Service"
  value = one([for service in data.fastly_services.services.details : service.id if service.name == "Example Service"])
}

Schema

Read-Only

Nested Schema for details

Read-Only: