parent
6f33262e8c
commit
bf9b225cb9
9 changed files with 287 additions and 44 deletions
|
|
@ -43,6 +43,10 @@ data "stackit_cdn_distribution" "example" {
|
|||
<a id="nestedatt--config"></a>
|
||||
### Nested Schema for `config`
|
||||
|
||||
Optional:
|
||||
|
||||
- `blocked_countries` (List of String) The configured countries where distribution of content is blocked
|
||||
|
||||
Read-Only:
|
||||
|
||||
- `backend` (Attributes) The configured backend for the distribution (see [below for nested schema](#nestedatt--config--backend))
|
||||
|
|
|
|||
|
|
@ -21,7 +21,8 @@ This guide outlines the process of creating a STACKIT CDN distribution and confi
|
|||
type = "http"
|
||||
origin_url = "mybackend.onstackit.cloud"
|
||||
}
|
||||
regions = ["EU", "US", "ASIA", "AF", "SA"]
|
||||
regions = ["EU", "US", "ASIA", "AF", "SA"]
|
||||
blocked_countries = ["DE", "AT", "CH"]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,9 @@ resource "stackit_cdn_distribution" "example_distribution" {
|
|||
type = "http"
|
||||
origin_url = "mybackend.onstackit.cloud"
|
||||
}
|
||||
regions = ["EU", "US", "ASIA", "AF", "SA"]
|
||||
regions = ["EU", "US", "ASIA", "AF", "SA"]
|
||||
blocked_countries = ["DE", "AT", "CH"]
|
||||
|
||||
optimizer = {
|
||||
enabled = true
|
||||
}
|
||||
|
|
@ -59,6 +61,7 @@ Required:
|
|||
|
||||
Optional:
|
||||
|
||||
- `blocked_countries` (List of String) The configured countries where distribution of content is blocked
|
||||
- `optimizer` (Attributes) Configuration for the Image Optimizer. This is a paid feature that automatically optimizes images to reduce their file size for faster delivery, leading to improved website performance and a better user experience. (see [below for nested schema](#nestedatt--config--optimizer))
|
||||
|
||||
<a id="nestedatt--config--backend"></a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue