پرش به مطلب اصلی

arvancloud_cdn_domain_cache (Resource)

Domain's Caching Settings.

Example Usage

resource "arvancloud_cdn_domain_cache" "example" {
domain = "cdn-terraform.ir"
developer_mode = false
consistent_uptime = true
max_size = 104857600
}

Schema

Required

  • consistent_uptime (Boolean) Whether the consistent uptime is active or not.
  • developer_mode (Boolean) Whether the developer mode is active or not.
  • domain (String) UUID or the name of the domain.
  • max_size (Number) Maximum size of cacheable content in bytes.

Read-Only

  • last_updated (String) The timestamp of the last update to the domain.

Import

Import is supported using the following syntax:

terraform import arvancloud_cdn_domain_cache.example cdn-terraform.ir