We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f9ac38 commit f6d2d3aCopy full SHA for f6d2d3a
cloudfront.tf
@@ -158,7 +158,16 @@ resource "aws_cloudfront_response_headers_policy" "security" {
158
override = true
159
}
160
content_security_policy {
161
- content_security_policy = "frame-ancestors 'self';default-src 'self';img-src 'self';script-src 'nonce-${random_string.cloudfront_csp_nonce.id}';style-src 'nonce-${random_string.cloudfront_csp_nonce.id}';object-src 'self';"
+ content_security_policy = <<EOT
162
+"
163
+frame-ancestors 'self';
164
+default-src 'self';
165
+img-src 'self';
166
+script-src 'nonce-${random_string.cloudfront_csp_nonce.id}';
167
+style-src 'nonce-${random_string.cloudfront_csp_nonce.id}';
168
+object-src 'self';
169
170
+EOT
171
172
173
0 commit comments