@@ -96,8 +96,6 @@ resource "aws_cloudfront_distribution" "marsha_cloudfront_distribution" {
9696 allowed_methods = [" GET" , " HEAD" , " OPTIONS" ]
9797 cached_methods = [" GET" , " HEAD" , " OPTIONS" ]
9898 target_origin_id = local. s3_destination_origin_id
99- trusted_signers = []
100- trusted_key_groups = [aws_cloudfront_key_group . marsha_cloudfront_signer_key_group . id ]
10199
102100 forwarded_values {
103101 query_string = false
@@ -115,14 +113,11 @@ resource "aws_cloudfront_distribution" "marsha_cloudfront_distribution" {
115113 viewer_protocol_policy = " redirect-to-https"
116114 }
117115
118- # Destination bucket: access to MP4 videos is restricted to signed urls/cookies
119116 ordered_cache_behavior {
120117 path_pattern = " */mp4/*"
121118 allowed_methods = [" GET" , " HEAD" , " OPTIONS" ]
122119 cached_methods = [" GET" , " HEAD" , " OPTIONS" ]
123120 target_origin_id = local. s3_destination_origin_id
124- trusted_signers = []
125- trusted_key_groups = [aws_cloudfront_key_group . marsha_cloudfront_signer_key_group . id ]
126121
127122 forwarded_values {
128123 query_string = true
@@ -145,8 +140,6 @@ resource "aws_cloudfront_distribution" "marsha_cloudfront_distribution" {
145140 allowed_methods = [" GET" , " HEAD" , " OPTIONS" ]
146141 cached_methods = [" GET" , " HEAD" , " OPTIONS" ]
147142 target_origin_id = local. s3_destination_origin_id
148- trusted_signers = []
149- trusted_key_groups = [aws_cloudfront_key_group . marsha_cloudfront_signer_key_group . id ]
150143
151144 forwarded_values {
152145 query_string = true
@@ -169,8 +162,6 @@ resource "aws_cloudfront_distribution" "marsha_cloudfront_distribution" {
169162 allowed_methods = [" GET" , " HEAD" , " OPTIONS" ]
170163 cached_methods = [" GET" , " HEAD" , " OPTIONS" ]
171164 target_origin_id = local. s3_destination_origin_id
172- trusted_signers = []
173- trusted_key_groups = [aws_cloudfront_key_group . marsha_cloudfront_signer_key_group . id ]
174165
175166 forwarded_values {
176167 query_string = true
@@ -193,8 +184,6 @@ resource "aws_cloudfront_distribution" "marsha_cloudfront_distribution" {
193184 allowed_methods = [" GET" , " HEAD" , " OPTIONS" ]
194185 cached_methods = [" GET" , " HEAD" , " OPTIONS" ]
195186 target_origin_id = local. s3_destination_origin_id
196- trusted_signers = []
197- trusted_key_groups = [aws_cloudfront_key_group . marsha_cloudfront_signer_key_group . id ]
198187
199188 forwarded_values {
200189 query_string = true
@@ -217,8 +206,6 @@ resource "aws_cloudfront_distribution" "marsha_cloudfront_distribution" {
217206 allowed_methods = [" GET" , " HEAD" , " OPTIONS" ]
218207 cached_methods = [" GET" , " HEAD" , " OPTIONS" ]
219208 target_origin_id = local. s3_destination_origin_id
220- trusted_signers = []
221- trusted_key_groups = [aws_cloudfront_key_group . marsha_cloudfront_signer_key_group . id ]
222209
223210 forwarded_values {
224211 query_string = true
@@ -259,14 +246,11 @@ resource "aws_cloudfront_distribution" "marsha_cloudfront_distribution" {
259246 viewer_protocol_policy = " redirect-to-https"
260247 }
261248
262- # Destination bucket: access to timed text tracks is restricted to signed urls/cookies
263249 ordered_cache_behavior {
264250 path_pattern = " */timedtext/*"
265251 allowed_methods = [" GET" , " HEAD" , " OPTIONS" ]
266252 cached_methods = [" GET" , " HEAD" , " OPTIONS" ]
267253 target_origin_id = local. s3_destination_origin_id
268- trusted_signers = []
269- trusted_key_groups = [aws_cloudfront_key_group . marsha_cloudfront_signer_key_group . id ]
270254
271255 forwarded_values {
272256 query_string = true
@@ -383,8 +367,6 @@ resource "aws_cloudfront_distribution" "marsha_cloudfront_distribution" {
383367 allowed_methods = [" GET" , " HEAD" , " OPTIONS" ]
384368 cached_methods = [" GET" , " HEAD" , " OPTIONS" ]
385369 target_origin_id = local. scw_object_storage_origin_id
386- trusted_signers = []
387- trusted_key_groups = [aws_cloudfront_key_group . marsha_cloudfront_signer_key_group . id ]
388370
389371 forwarded_values {
390372 query_string = false
0 commit comments