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

Arvancloud Provider

The Arvancloud provider is used to interact with resources provided by Arvancloud. The provider needs to be configured with the proper API key before it can be used.

Example Usage

terraform {
required_providers {
arvancloud = {
source = "terraform.arvancloud.ir/arvancloud/arvancloud"
}
}
}

provider "arvancloud" {
api_key = "apikey xx"
}

resource "arvancloud_cdn_domain_dns_record" "example" {
domain = "example.ir"
name = "www"
ttl = 120
cloud = true
upstream_https = "https"
ip_filter_mode = {
count = "single"
order = "none"
geo_filter = "none"
}
type = "a"
value = {
a = [{ ip = "1.1.1.1", port = 443 }]
}
}

Schema

Required

  • api_key (String, Sensitive) The API key for the Arvancloud provider.