Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Solution library
    • Overview
    • Release notes
          • function
          • function_scaling_policy
          • function_trigger

In this article:

  • Example usage
  • Schema
  • Required
  • Optional
  • Read-Only
  • Nested Schema for policy
  1. Terraform reference
  2. Resources
  3. Serverless Cloud Functions
  4. Data Sources
  5. function_scaling_policy

yandex_function_scaling_policy (Data Source)

Written by
Yandex Cloud
Updated at August 7, 2025
  • Example usage
  • Schema
    • Required
    • Optional
    • Read-Only
    • Nested Schema for policy

Get information about a Yandex Cloud Function Scaling Policy. For more information about Yandex Cloud Functions, see Yandex Cloud Functions.

This data source is used to define Yandex Cloud Function Scaling Policy that can be used by other resources.

Example usageExample usage

//
// Get information about existing Cloud Function Scaling Policy.
//
data "yandex_function_scaling_policy" "my_scaling_policy" {
  function_id = "d4e45**********pqvd3"
}

SchemaSchema

RequiredRequired

  • function_id (String) Yandex Cloud Function id used to define function.

OptionalOptional

  • policy (Block List) (see below for nested schema)

Read-OnlyRead-Only

  • id (String) The ID of this resource.

Nested Schema for Nested Schema for policy

Optional:

  • zone_instances_limit (Number) Max number of instances in one zone for Yandex Cloud Function with tag.

  • zone_requests_limit (Number) Max number of requests in one zone for Yandex Cloud Function with tag.

Read-Only:

  • tag (String) Yandex Cloud Function version tag for Yandex Cloud Function scaling policy.

Was the article helpful?

Previous
function
Next
function_trigger
© 2025 Direct Cursus Technology L.L.C.