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.
Yandex Object Storage
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Bucket logs
  • Release notes
  • FAQ

Terraform reference for Yandex Object Storage

Written by
Yandex Cloud
Updated at September 29, 2025

With Terraform, you can quickly create a cloud infrastructure in Yandex Cloud and manage it using configuration files. These files store the infrastructure description written in HashiCorp Configuration Language (HCL). If you change the configuration files, Terraform automatically detects which part of your configuration is already deployed, and what should be added or removed.

Terraform is distributed under the Business Source License. The Yandex Cloud provider for Terraform is distributed under the MPL-2.0 license.

For more information about Terraform, see this tutorial.

ResourcesResources

Object Storage supports the following Terraform provider resources:

Terraform resource

Yandex Cloud resource

yandex_storage_bucket

Bucket

yandex_storage_object

Object

yandex_storage_bucket_iam_binding

Configuring access permissions for a bucket using Identity and Access Management.

Warning

You cannot use the yandex_storage_bucket_iam_binding resource to assign primitive roles, such as viewer, editor, or admin for a bucket if the yandex_storage_bucket_grant resource or the acl or grant parameters of the yandex_storage_bucket resource are used simultaneously.

yandex_storage_bucket_grant

Configuring access permissions for a bucket using the Object Storage ACL.

One yandex_storage_bucket bucket can only be mapped to one yandex_storage_bucket_grant resource. Using multiple resources for a single bucket may lead to configuration errors.

Warning

You cannot use the yandex_storage_bucket_grant resource if the yandex_storage_bucket_iam_binding resource is simultaneously used to assign primitive roles, such as viewer, editor, or admin for a bucket, or if the acl or grant parameters of the yandex_storage_bucket resource are simultaneously in use.

yandex_storage_bucket_policy

Managing bucket policies

Was the article helpful?

Previous
upload-part-copy
Next
API authentication
© 2025 Direct Cursus Technology L.L.C.