Skip to content

Commit 5ea2f6f

Browse files
author
Pavel
committed
feat(error_code)ability to ovverride error codes
1 parent 88657d7 commit 5ea2f6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ resource "aws_cloudfront_distribution" "this" {
105105
custom_error_response {
106106
error_caching_min_ttl = 3000
107107
error_code = 403
108-
response_code = var.override_status_code_404
108+
response_code = var.override_status_code_403
109109
response_page_path = "/index.html"
110110
}
111111

0 commit comments

Comments
 (0)