Terraform IaC patterns for Yandex Cloud. Use when creating, modifying, or refactoring Terraform configurations for YDB, S3, Message Queue, Cloud Functions, API Gateway, or Serverless Containers. Provides resource patterns, naming conventions, and best practices from production projects.
/plugin marketplace add skibitskiy/yandex-cloud-terraform-skill/plugin install skibitskiy-yandex-cloud-terraform@skibitskiy/yandex-cloud-terraform-skillThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/CONTAINERS.mdreferences/FUNCTIONS.mdreferences/IAM.mdreferences/QUEUE.mdreferences/YDB.mdModular (environments/ + modules/): Multiple environments (dev/stage/prod), reusable components
Flat (functional files): Single environment, small-medium projects
# Resource naming with prefix
locals {
resource_prefix = "${var.project_name}-${var.environment}"
}
# YDB tables require wait for database readiness
resource "time_sleep" "wait_for_database" {
depends_on = [yandex_ydb_database_serverless.this]
create_duration = "30s"
}
# TTL on temporary data
ttl {
column_name = "expires_at"
expire_interval = "PT0S" # immediate
}
# Secondary index with concurrency guard
resource "yandex_ydb_table_index" "index2" {
# ...
depends_on = [yandex_ydb_table_index.index1]
}
depends_on = [time_sleep.wait_for_database]depends_on to avoid concurrent schema modificationsP5D = 5 days, PT0S = immediateuser_hash for redeployment triggers--platform=linux/amd64 (ARM images fail with "Internal error")Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.