You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/cdn_custom_domain.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,19 @@ data "stackit_cdn_custom_domain" "example" {
32
32
-`name` (String)
33
33
-`project_id` (String) STACKIT project ID associated with the distribution
34
34
35
+
### Optional
36
+
37
+
-`certificate` (Attributes) The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. (see [below for nested schema](#nestedatt--certificate))
38
+
35
39
### Read-Only
36
40
37
41
-`errors` (List of String) List of distribution errors
38
42
-`id` (String) Terraform's internal resource identifier. It is structured as "`project_id`,`distribution_id`".
39
43
-`status` (String) Status of the distribution
44
+
45
+
<aid="nestedatt--certificate"></a>
46
+
### Nested Schema for `certificate`
47
+
48
+
Read-Only:
49
+
50
+
-`version` (Number) A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed.
# Only use the import statement, if you want to import an existing cdn custom domain
@@ -38,8 +42,24 @@ import {
38
42
-`name` (String)
39
43
-`project_id` (String) STACKIT project ID associated with the distribution
40
44
45
+
### Optional
46
+
47
+
-`certificate` (Attributes) The TLS certificate for the custom domain. If omitted, a managed certificate will be used. If the block is specified, a custom certificate is used. (see [below for nested schema](#nestedatt--certificate))
48
+
41
49
### Read-Only
42
50
43
51
-`errors` (List of String) List of distribution errors
44
52
-`id` (String) Terraform's internal resource identifier. It is structured as "`project_id`,`distribution_id`".
45
53
-`status` (String) Status of the distribution
54
+
55
+
<aid="nestedatt--certificate"></a>
56
+
### Nested Schema for `certificate`
57
+
58
+
Optional:
59
+
60
+
-`certificate` (String, Sensitive) The PEM-encoded TLS certificate. Required for custom certificates.
61
+
-`private_key` (String, Sensitive) The PEM-encoded private key for the certificate. Required for custom certificates. The certificate will be updated if this field is changed.
62
+
63
+
Read-Only:
64
+
65
+
-`version` (Number) A version identifier for the certificate. Required for custom certificates. The certificate will be updated if this field is changed.
"blocked_countries": "\"CU\", \"AQ\"", // Do NOT use DE or AT here, because the request might be blocked by bunny at the time of creation - don't lock yourself out
28
34
"custom_domain_prefix": uuid.NewString(), // we use a different domain prefix each test run due to inconsistent upstream release of domains, which might impair consecutive test runs
0 commit comments