* add datasource * finish data source * implement resource * add unit tests * add examples * acceptance test * review comments * review comments 2 --------- Co-authored-by: Malte Ehrlen <malte.ehrlen@freiheit.com>
11 lines
304 B
HCL
11 lines
304 B
HCL
# Create a CDN distribution
|
|
resource "stackit_cdn_distribution" "example_distribution" {
|
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
config = {
|
|
backend = {
|
|
type = "http"
|
|
origin_url = "mybackend.onstackit.cloud"
|
|
}
|
|
regions = ["EN", "US", "ASIA", "AF", "SA"]
|
|
}
|
|
}
|