Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • 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
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Solution library
    • Overview
    • Release notes
          • trino_access_control
          • trino_catalog
          • trino_cluster
          • trino_cluster_iam_binding

In this article:

  • Arguments & Attributes Reference
  • Import
  1. Terraform reference
  2. Resources
  3. Managed Service for Trino
  4. Resources
  5. trino_access_control

yandex_trino_access_control (Resource)

Written by
Yandex Cloud
Updated at February 12, 2026
  • Arguments & Attributes Reference
  • Import

Access control configuration for Managed Trino cluster.

Arguments & Attributes ReferenceArguments & Attributes Reference

  • catalog_session_properties [Block]. Catalog session property access control rules.
    • allow (Required)(String). Whether the rule allows setting the property. Valid values: NO, YES
    • catalog [Block]. Catalog matcher specifying what catalogs the rule is applied to. Exactly one of name_regexp, ids attributes should be set.
      • ids (List Of String). Catalog IDs rule is applied to.
      • name_regexp (String). Catalog name regexp the rule is applied to.
    • description (String). Rule description.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • property [Block]. Matcher specifying what properties the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Property name regexp the rule is applied to.
      • names (List Of String). Property names rule is applied to.
    • users (List Of String). IAM user IDs the rule is applied to.
  • catalogs [Block]. Catalog level access control rules.
    • catalog [Block]. Catalog matcher specifying what catalogs the rule is applied to. Exactly one of name_regexp, ids attributes should be set.
      • ids (List Of String). Catalog IDs rule is applied to.
      • name_regexp (String). Catalog name regexp the rule is applied to.
    • description (String). Rule description.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • permission (Required)(String). Permission granted by the rule. Valid values: NONE, READ_ONLY, ALL
    • users (List Of String). IAM user IDs the rule is applied to.
  • cluster_id (Required)(String). ID of the Trino cluster. Provided by the client when the Access Control is created.
  • functions [Block]. Function level access control rules.
    • catalog [Block]. Catalog matcher specifying what catalogs the rule is applied to. Exactly one of name_regexp, ids attributes should be set.
      • ids (List Of String). Catalog IDs rule is applied to.
      • name_regexp (String). Catalog name regexp the rule is applied to.
    • description (String). Rule description.
    • function [Block]. Matcher specifying what functions the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Function name regexp the rule is applied to.
      • names (List Of String). Function names rule is applied to.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • privileges (List Of String). Privileges granted by the rule. Valid values: EXECUTE, GRANT_EXECUTE, OWNERSHIP.
    • schema [Block]. Matcher specifying what Schemas the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Schema name regexp the rule is applied to.
      • names (List Of String). Schema names rule is applied to.
    • users (List Of String). IAM user IDs the rule is applied to.
  • procedures [Block]. Procedure level access control rules.
    • catalog [Block]. Catalog matcher specifying what catalogs the rule is applied to. Exactly one of name_regexp, ids attributes should be set.
      • ids (List Of String). Catalog IDs rule is applied to.
      • name_regexp (String). Catalog name regexp the rule is applied to.
    • description (String). Rule description.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • privileges (List Of String). Privileges granted by the rule. Valid values: EXECUTE.
    • procedure [Block]. Matcher specifying what procedures the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Procedure name regexp the rule is applied to.
      • names (List Of String). Procedure names rule is applied to.
    • schema [Block]. Matcher specifying what Schemas the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Schema name regexp the rule is applied to.
      • names (List Of String). Schema names rule is applied to.
    • users (List Of String). IAM user IDs the rule is applied to.
  • queries [Block]. Query level access control rules.
    • description (String). Rule description.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • privileges (List Of String). Privileges granted by the rule. Valid values: VIEW, EXECUTE, KILL.
    • query_owners (List Of String). Owners of queries the rule is applied to.
    • users (List Of String). IAM user IDs the rule is applied to.
  • schemas [Block]. Schema level access control rules.
    • catalog [Block]. Catalog matcher specifying what catalogs the rule is applied to. Exactly one of name_regexp, ids attributes should be set.
      • ids (List Of String). Catalog IDs rule is applied to.
      • name_regexp (String). Catalog name regexp the rule is applied to.
    • description (String). Rule description.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • owner (Required)(String). Ownership granted by the rule. Valid values: NO, YES
    • schema [Block]. Matcher specifying what schemas the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Schema name regexp the rule is applied to.
      • names (List Of String). Schema names rule is applied to.
    • users (List Of String). IAM user IDs the rule is applied to.
  • system_session_properties [Block]. System session property access control rules.
    • allow (Required)(String). Whether the rule allows setting the property. Valid values: NO, YES
    • description (String). Rule description.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • property [Block]. Matcher specifying what properties the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Property name regexp the rule is applied to.
      • names (List Of String). Property names rule is applied to.
    • users (List Of String). IAM user IDs the rule is applied to.
  • tables [Block]. Table level access control rules.
    • catalog [Block]. Catalog matcher specifying what catalogs the rule is applied to. Exactly one of name_regexp, ids attributes should be set.
      • ids (List Of String). Catalog IDs rule is applied to.
      • name_regexp (String). Catalog name regexp the rule is applied to.
    • columns [Block]. Column rules.
      • access (Required)(String). Column access mode. Valid values: NONE, ALL
      • mask (String). SQL expression mask to evaluate instead of original column values.
      • name (Required)(String). Column name.
    • description (String). Rule description.
    • filter (String). Boolean SQL expression to filter table rows for particular user.
    • groups (List Of String). IAM group IDs the rule is applied to.
    • privileges (List Of String). Privileges granted by the rule. Valid values: SELECT, INSERT, DELETE, UPDATE, OWNERSHIP, GRANT_SELECT.
    • schema [Block]. Matcher specifying what Schemas the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Schema name regexp the rule is applied to.
      • names (List Of String). Schema names rule is applied to.
    • table [Block]. Matcher specifying what tables the rule is applied to. Exactly one of name_regexp, names attributes should be set.
      • name_regexp (String). Table name regexp the rule is applied to.
      • names (List Of String). Table names rule is applied to.
    • users (List Of String). IAM user IDs the rule is applied to.

ImportImport

The resource can be imported by using their resource ID. For getting it you can use Yandex Cloud Web Console or Yandex Cloud CLI.

# terraform import yandex_trino_access_control.<resource Name> <cluster Id>
terraform import yandex_trino_access_control.my_trino_access_control c9qk5**********h6a91

Was the article helpful?

Previous
trino_cluster
Next
trino_catalog
© 2026 Direct Cursus Technology L.L.C.