arvancloud_cdn_domain_image_resize (Resource)
Domain's image resize settings.
Example Usage
resource "arvancloud_cdn_domain_image_resize" "example" {
domain = "cdn-terraform.ir"
status = "on"
height_by = "h"
width_by = "w"
mode = "short-side"
mode_by = "mode"
}
Schema
Required
domain
(String) UUID or the name of the domain.height_by
(String) Height parameter for image resize.mode
(String) Resize mode for the image.mode_by
(String) Mode parameter for image resize.status
(String) Whether the image resize is active or not.width_by
(String) Width parameter for image resize.
Read-Only
last_updated
(String) Timestamp of the last Terraform update of the domain.
Import
Import is supported using the following syntax:
terraform import arvancloud_cdn_domain_image_resize.example cdn-terraform.ir