Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Setting up Yandex Cloud Terraform provider authentication
  • Solution library
    • Overview
    • Release notes
          • sws_advanced_rate_limiter_profile
          • sws_domain
          • sws_load_balancer
          • sws_match_list
          • sws_security_profile
          • sws_security_profile_advanced_rate_limiter_profile_attachment
          • sws_security_profile_waf_profile_attachment
          • sws_waf_profile

In this article:

  • Example usage
  • Arguments & Attributes Reference
  • Import
  1. Terraform reference
  2. Resources
  3. Smart Web Security
  4. Resources
  5. sws_security_profile_advanced_rate_limiter_profile_attachment

yandex_sws_security_profile_advanced_rate_limiter_profile_attachment (Resource)

Written by
Yandex Cloud
Updated at November 13, 2026
View in Markdown
  • Example usage
  • Arguments & Attributes Reference
  • Import

Attaches an Advanced Rate Limiter profile to a Smart Web Security profile. Do not manage advanced_rate_limiter_profile_id in yandex_sws_security_profile when using this resource.

Example usageExample usage

resource "yandex_sws_advanced_rate_limiter_profile" "arl" {
  name = "example-arl-profile"

  advanced_rate_limiter_rule {
    name     = "example-rule"
    priority = 1
    dry_run  = true

    static_quota {
      action = "DENY"
      limit  = 1000
      period = 60
    }
  }
}

resource "yandex_sws_security_profile" "security_profile" {
  name                     = "example-security-profile"
  default_action           = "ALLOW"
  disallow_data_processing = false
}

resource "yandex_sws_security_profile_advanced_rate_limiter_profile_attachment" "attachment" {
  security_profile_id              = yandex_sws_security_profile.security_profile.id
  advanced_rate_limiter_profile_id = yandex_sws_advanced_rate_limiter_profile.arl.id
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • advanced_rate_limiter_profile_id (Required)(String). ID of the Advanced Rate Limiter profile.
  • id (String).
  • security_profile_id (Required)(String). ID of the Smart Web Security profile.
  • timeouts [Block].
    • create (String).
    • delete (String).
    • read (String).

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.

#!/bin/bash

terraform import yandex_sws_security_profile_advanced_rate_limiter_profile_attachment.attachment '<security_profile_id>/<advanced_rate_limiter_profile_id>'

Was the article helpful?

Previous
sws_security_profile
Next
sws_security_profile_waf_profile_attachment
© 2026 Direct Cursus Technology L.L.C.