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: stackit/internal/services/cdn/distribution/resource.go
+58-3Lines changed: 58 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -88,9 +88,10 @@ type optimizerConfig struct {
88
88
}
89
89
90
90
typebackendstruct {
91
-
Typestring`tfsdk:"type"`// The type of the backend. Currently, only "http" backend is supported
92
-
OriginURLstring`tfsdk:"origin_url"`// The origin URL of the backend
93
-
OriginRequestHeaders*map[string]string`tfsdk:"origin_request_headers"`// Request headers that should be added by the CDN distribution to incoming requests
91
+
Typestring`tfsdk:"type"`// The type of the backend. Currently, only "http" backend is supported
92
+
OriginURLstring`tfsdk:"origin_url"`// The origin URL of the backend
93
+
OriginRequestHeaders*map[string]string`tfsdk:"origin_request_headers"`// Request headers that should be added by the CDN distribution to incoming requests
94
+
Geofencing*map[string][]string`tfsdk:"geofencing"`// The geofencing is an object mapping multiple alternative origins to country codes.
94
95
}
95
96
96
97
varconfigTypes=map[string]attr.Type{
@@ -106,10 +107,15 @@ var optimizerTypes = map[string]attr.Type{
0 commit comments